Browse Source

Update i386 disk image creation

master
Aaron Lindsay 6 years ago
parent
commit
296433e09c
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      arch/i386/kernel.mk

+ 2
- 1
arch/i386/kernel.mk 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)mkfs.vfat "$@" 1>/dev/null
$(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 "$@" arch/i386/syslinux.cfg ::syslinux.cfg


Loading…
Cancel
Save