1
0

Update i386 disk image creation

This commit is contained in:
Aaron Lindsay 2014-09-08 21:03:48 -04:00
parent 884913b350
commit 296433e09c

View File

@ -18,7 +18,8 @@ aedrix-boot.img: aedrix-kernel.elf
$(V)dd if=/dev/zero of="$@" bs=4k count=$(HD_NUM_BLOCKS) 2>/dev/null $(V)dd if=/dev/zero of="$@" bs=4k count=$(HD_NUM_BLOCKS) 2>/dev/null
$(V)mkfs.vfat "$@" 1>/dev/null $(V)mkfs.vfat "$@" 1>/dev/null
$(V)syslinux "$@" $(V)syslinux "$@"
$(V)mcopy -i "$@" /usr/lib/syslinux/mboot.c32 ::mboot.c32 $(V)mcopy -i "$@" /usr/lib/syslinux/bios/mboot.c32 ::mboot.c32
$(V)mcopy -i "$@" /usr/lib/syslinux/bios/libcom32.c32 ::libcom32.c32
$(V)mcopy -i "$@" aedrix-kernel.elf ::kernel.bin $(V)mcopy -i "$@" aedrix-kernel.elf ::kernel.bin
$(V)mcopy -i "$@" arch/i386/syslinux.cfg ::syslinux.cfg $(V)mcopy -i "$@" arch/i386/syslinux.cfg ::syslinux.cfg