More tweaks for the kFreeBSD boot code: move boot files into boot$N
This commit is contained in:
parent
214f685fa3
commit
a24fa2e1c5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue