* Merge patch from Petter to allow override of the default boot choice

in syslinux using the ISOLINUX_DEFAULT config option. Closes: #393229
This commit is contained in:
Steve McIntyre 2006-10-18 20:47:32 +00:00
parent 7f22b33443
commit 4a6935c1d3
3 changed files with 12 additions and 0 deletions

4
debian/changelog vendored
View File

@ -11,6 +11,10 @@ debian-cd (2.2.26) UNRELEASED; urgency=low
the archive.
* Deal with new xfce-desktop task.
[ Steve McIntyre ]
* Merge patch from Petter to allow override of the default boot choice
in syslinux using the ISOLINUX_DEFAULT config option. Closes: #393229
-- Joey Hess <joeyh@debian.org> Tue, 17 Oct 2006 14:59:53 -0400
debian-cd (2.2.25) unstable; urgency=low

View File

@ -131,6 +131,10 @@ if [ -n "$KERNEL_PARAMS" ]; then
sed -i "s|append |append $KERNEL_PARAMS |" boot$N/isolinux/isolinux.cfg
fi
if [ -n "$ISOLINUX_DEFAULT" ]; then
sed -i "s/^DEFAULT .*$/DEFAULT $ISOLINUX_DEFAULT/" boot$N/isolinux/isolinux.cfg
fi
# Add autorun if we have README.html
if [ -f $CDDIR/README.html ]; then

View File

@ -193,6 +193,10 @@ if [ "$NN" = "1" ]; then
# file.
sed -i "s|append |append $KERNEL_PARAMS |" boot$N/isolinux/isolinux.cfg
fi
if [ -n "$ISOLINUX_DEFAULT" ]; then
sed -i "s/^DEFAULT .*$/DEFAULT $ISOLINUX_DEFAULT/" boot$N/isolinux/isolinux.cfg
fi
fi
# Add autorun if we have README.html