First checkin of JTE changes.

The JTE patch includes direct support for making CDs bootable on
alpha, hppa, mips and mipsel. Specify the options necessary for
mkisofs to use that support.
This commit is contained in:
Steve McIntyre 2004-07-12 22:26:43 +00:00
parent d3bc23ce64
commit c924cdc420
4 changed files with 16 additions and 3 deletions

View File

@ -88,7 +88,7 @@ EOF
#cp -lf floppy-initrd.gz $CDDIR/install #cp -lf floppy-initrd.gz $CDDIR/install
# write final lines to mkisofs_opts # write final lines to mkisofs_opts
echo -n "boot$N " >> $N.mkisofs_opts echo -n "-alpha-boot boot/bootlx boot$N " >> $N.mkisofs_opts
else else
echo -n "-cache-inodes -J -l " > $N.mkisofs_opts echo -n "-cache-inodes -J -l " > $N.mkisofs_opts

View File

@ -45,4 +45,12 @@ cp "$DI_DIR"/initrd.gz "$CDROOT/install"
install_languages "$CDROOT" install_languages "$CDROOT"
echo " -hppa-cmdline '0/vmlinux,root=/dev/ram,initrd=0/ramdisk,init=/linuxrc'" >> $1.mkisofs_opts
K32=$(ls $CDROOT/install/vmlinux-*-32 | sed 's?^.*/install/?install/?g')
echo " -hppa-kernel-32 $K32" >> $1.mkisofs_opts
K64=$(ls $CDROOT/install/vmlinux-*-64 | sed 's?^.*/install/?install/?g')
echo " -hppa-kernel-64 $K64" >> $1.mkisofs_opts
echo " -hppa-bootloader install/iplboot" >> $1.mkisofs_opts
echo " -hppa-ramdisk install/initrd.gz" >> $1.mkisofs_opts
exit 0 exit 0

View File

@ -20,7 +20,7 @@ if [ ! "$DI_DIST" ]; then
DI_DIST="$DI_CODENAME" DI_DIST="$DI_CODENAME"
fi fi
echo -J > $1.mkisofs_opts echo "-J" > $1.mkisofs_opts
# Only disk 1* bootable # Only disk 1* bootable
if [ $N != 1 -a $N != 1_NONUS ]; then if [ $N != 1 -a $N != 1_NONUS ]; then
@ -39,4 +39,7 @@ install -m 644 -D "$DI_DIR"/r5k-ip22/cdrom-boot.img "$CDROOT"/install/r5k-ip22-b
install_languages $CDROOT install_languages $CDROOT
echo " -mips-boot install/r4k-ip22-boot.img" >> $1.mkisofs_opts
echo " -mips-boot install/r5k-ip22-boot.img" >> $1.mkisofs_opts
exit 0 exit 0

View File

@ -35,7 +35,7 @@ NN=`echo $N | sed -e 's/_NONUS//'`
cd $CDROOT/.. cd $CDROOT/..
echo -J > $1.mkisofs_opts echo "-J" > $1.mkisofs_opts
# Only disks 1 bootable # Only disks 1 bootable
if [ $NN != 1 ]; then if [ $NN != 1 ]; then
@ -62,4 +62,6 @@ cp "$DI_DIR"/vmlinux-*-r4k-kn04 "$CDROOT/boot/vmlinux-r4k-kn04"
install_languages $CDROOT install_languages $CDROOT
echo -n "-mipsel-boot boot/delo.2nd" >> $1.mkisofs_opts
exit 0 exit 0