More tweaks for the kFreeBSD boot code: move boot files into boot$N

This commit is contained in:
Steve McIntyre 2010-09-15 12:16:35 +00:00
parent 214f685fa3
commit a24fa2e1c5
1 changed files with 3 additions and 1 deletions

View File

@ -63,7 +63,8 @@ cp "cdrom/kfreebsd.gz" "$CDDIR/boot/kernel/kfreebsd.gz"
cp "cdrom/initrd.gz" "$CDDIR/boot/mfsroot.gz"
# Install bootloader
tar -C $CDDIR -zxf cdrom/debian-cd_info.tar.gz
mkdir -p boot$N
tar -C boot$N -zxf cdrom/debian-cd_info.tar.gz
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-J -joliet-long"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-b boot/grub/grub_eltorito"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-c boot/boot.cat"
@ -71,6 +72,7 @@ add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-no-emul-boot"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-boot-load-size 4"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-boot-info-table"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-cache-inodes"
add_mkisofs_opt $CDDIR/../$N.mkisofs_dirs "boot$N"
# Add autorun
if [ -f $CDDIR/README.html ]; then