Use "|" rather than "/" as a sed separator in the etch boot-amd64 and

boot-i386 scripts. Closes: #342344
This commit is contained in:
Steve McIntyre 2005-12-17 17:53:52 +00:00
parent 5e5a31750c
commit b9dab72c03
3 changed files with 5 additions and 2 deletions

3
debian/changelog vendored
View File

@ -112,6 +112,9 @@ debian-cd (2.2.24) UNRELEASED; urgency=low
* Fix the new Packages file generation to cope with LOCAL packages
too. A simple change to add checking for /local/ ; hopefully it
will do the trick.
* Use "|" rather than "/" as a sed separator in the etch boot-amd64
and boot-i386 scripts. Closes: #342344
-- Joey Hess <joeyh@debian.org> Thu, 8 Dec 2005 22:53:16 +0000

View File

@ -88,7 +88,7 @@ fi
if [ -n "$KERNEL_PARAMS" ]; then
# Substitute custom kernel params into the isolinux config
# file.
sed -i "s/append /append $KERNEL_PARAMS/" boot$N/isolinux/isolinux.cfg
sed -i "s|append |append $KERNEL_PARAMS|" boot$N/isolinux/isolinux.cfg
fi
# write final lines to mkisofs_opts

View File

@ -167,7 +167,7 @@ if [ "$NN" = "1" ]; then
if [ -n "$KERNEL_PARAMS" ]; then
# Substitute custom kernel params into the isolinux config
# file.
sed -i "s/append /append $KERNEL_PARAMS/" boot$N/isolinux/isolinux.cfg
sed -i "s|append |append $KERNEL_PARAMS|" boot$N/isolinux/isolinux.cfg
fi
fi