Browse Source

Update i386 disk image creation

Aaron Lindsay 5 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

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