Also extract isolinux.bin from the syslinux package in the case of etch

CD images (since it's no more provided by debian-cd itself).
This commit is contained in:
Raphaël Hertzog 2008-11-07 16:32:06 +00:00
parent 7b28512cf9
commit 5aa7863d82
3 changed files with 10 additions and 2 deletions

2
debian/changelog vendored
View File

@ -16,6 +16,8 @@ debian-cd (3.0.6) UNRELEASED; urgency=low
[ Raphael Hertzog ]
* Don't try to copy sbm on etch CD images as it got removed.
* Also extract isolinux.bin from the syslinux package in the case of etch
CD images (since it's no more provided by debian-cd itself).
-- Frans Pop <fjp@debian.org> Sun, 02 Nov 2008 00:03:00 +0100

View File

@ -115,7 +115,10 @@ rm -f boot$N/isolinux-amd64/isolinux.cfg.with* 2>/dev/null || true
sed -i "s|/install/|/install.amd/|" boot$N/isolinux-amd64/isolinux.cfg
cp -f $BASEDIR/data/$DI_CODENAME/isolinux.bin boot$N/isolinux/
mkdir -p $CDDIR/../syslinux
SYSLINUXDEB=`$BASEDIR/tools/which_deb $MIRROR $DI_CODENAME syslinux`
ar p "${SYSLINUXDEB}" data.tar.gz | tar zxf - -C $CDDIR/../syslinux ./usr/lib
cp -f $CDDIR/../syslinux/usr/lib/syslinux/isolinux.bin boot$N/isolinux/
if [ -n "$KERNEL_PARAMS" ]; then
# Substitute custom kernel params into the isolinux config

View File

@ -213,7 +213,10 @@ if [ "$NN" = "1" ]; then
rm -rf boot$N/isolinux-amd64
fi
cp -f $BASEDIR/data/$DI_CODENAME/isolinux.bin boot$N/isolinux/
mkdir -p $CDDIR/../syslinux
SYSLINUXDEB=`$BASEDIR/tools/which_deb $MIRROR $DI_CODENAME syslinux`
ar p "${SYSLINUXDEB}" data.tar.gz | tar zxf - -C $CDDIR/../syslinux ./usr/lib
cp -f $CDDIR/../syslinux/usr/lib/syslinux/isolinux.bin boot$N/isolinux/
if [ -n "$KERNEL_PARAMS" ]; then
# Substitute custom kernel params into the isolinux config