diff options
| author | kotorifan <kotorifan05@gmail.com> | 2026-02-01 22:18:34 +0100 |
|---|---|---|
| committer | kotorifan <kotorifan05@gmail.com> | 2026-02-04 09:01:10 +0100 |
| commit | 9dbf9d0c21002983de556aa76a9d01124d556a90 (patch) | |
| tree | 9e1a856377cfdbb3fe1b8da47634bd7a502d8d21 /make.sh | |
| parent | 35f3e16135b371e11d540a8b6bd5395cb40b2c96 (diff) | |
| download | kotori-os-9dbf9d0c21002983de556aa76a9d01124d556a90.tar.gz | |
Enough for today
Diffstat (limited to 'make.sh')
| -rwxr-xr-x | make.sh | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -22,8 +22,8 @@ build() $AS_BOOT $SRC_DIR/boot/boot.stage1.asm -o $DST_DIR/s1_boot.bin $AS_BOOT $SRC_DIR/boot/boot.stage2.asm -o $DST_DIR/s2_boot.bin $AS_KERN $SRC_DIR/kernel/kernel.asm -o $DST_DIR/kernel.bin - dd if=/dev/zero of=disk.img bs=512 count=2048 - dd if=$DST_DIR/s1_boot.bin of=$IMG_FILE conv=notrunc bs=512 count=1 + dd if=/dev/zero of=disk.img bs=512 count=2880 + dd if=$DST_DIR/s1_boot.bin of=$IMG_FILE conv=notrunc echo "Written s1_boot.bin to $IMG_FILE" dd if=$DST_DIR/s2_boot.bin of=$IMG_FILE conv=notrunc bs=512 seek=1 echo "Written s2_boot.bin to $IMG_FILE" @@ -37,12 +37,8 @@ build() -no-emul-boot \ -boot-load-size 4 \ -boot-info-table \ - -iso-level 3 \ - -J \ - -R \ - -V "$NAME" \ -o $ISO_FILE \ - "$(dirname "$IMG_FILE")" + . if [ -f $ISO_FILE ]; then |
