mirror of
https://salsa.debian.org/images-team/debian-cd.git
synced 2024-11-24 15:19:51 -01:00
Fix sed delimiters in various scripts
Found by Steev - "," is not a safe delimiter to use in various places. Switch to "|" instead.
This commit is contained in:
parent
e818685cd1
commit
34b8379db4
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -14,6 +14,9 @@ debian-cd (3.1.32) UNRELEASED; urgency=medium
|
||||
* tasks/bullseye/Debian-edu-full: Add winbind, freeradius and freeradius-krb5
|
||||
packages.
|
||||
|
||||
[ Steev Klimaszewski ]
|
||||
* Fix sed delimiters in various scripts
|
||||
|
||||
-- Steve McIntyre <93sam@debian.org> sat, 12 Dec 2020 03:12:36 +0100
|
||||
|
||||
debian-cd (3.1.31) unstable; urgency=medium
|
||||
|
@ -126,10 +126,10 @@ if [ -d boot$N/grub ] ; then
|
||||
|
||||
# Finally, belt and braces - fix up the %install% entries in grub
|
||||
# in case they're still there
|
||||
sed -i "s,\%install\%,$INSTALLDIR,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|\%install\%|$INSTALLDIR|g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
# Substitute custom KERNEL_PARAMS into grub.cfg
|
||||
sed -i "s,/vmlinuz ,/vmlinuz $KERNEL_PARAMS ,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|/vmlinuz |/vmlinuz $KERNEL_PARAMS |g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
else
|
||||
echo " No EFI boot code for $ARCH on CD$N"
|
||||
|
@ -125,10 +125,10 @@ if [ -d boot$N/grub ] ; then
|
||||
|
||||
# Finally, belt and braces - fix up the %install% entries in grub
|
||||
# in case they're still there
|
||||
sed -i "s,\%install\%,$INSTALLDIR,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|\%install\%|$INSTALLDIR|g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
# Substitute custom KERNEL_PARAMS into grub.cfg
|
||||
sed -i "s,/vmlinuz ,/vmlinuz $KERNEL_PARAMS ,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|/vmlinuz |/vmlinuz $KERNEL_PARAMS |g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
else
|
||||
echo " No EFI boot code for $ARCH on CD$N"
|
||||
|
@ -122,10 +122,10 @@ if [ -d boot$N/grub ] ; then
|
||||
|
||||
# Finally, belt and braces - fix up the %install% entries in grub
|
||||
# in case they're still there
|
||||
sed -i "s,\%install\%,$INSTALLDIR,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|\%install\%|$INSTALLDIR|g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
# Substitute custom KERNEL_PARAMS into grub.cfg
|
||||
sed -i "s,/vmlinuz ,/vmlinuz $KERNEL_PARAMS ,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|/vmlinuz |/vmlinuz $KERNEL_PARAMS |g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
else
|
||||
echo " No EFI boot code for $ARCH on CD$N"
|
||||
|
@ -122,10 +122,10 @@ if [ -d boot$N/grub ] ; then
|
||||
|
||||
# Finally, belt and braces - fix up the %install% entries in grub
|
||||
# in case they're still there
|
||||
sed -i "s,\%install\%,$INSTALLDIR,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|\%install\%|$INSTALLDIR|g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
# Substitute custom KERNEL_PARAMS into grub.cfg
|
||||
sed -i "s,/vmlinuz ,/vmlinuz $KERNEL_PARAMS ,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|/vmlinuz |/vmlinuz $KERNEL_PARAMS |g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
else
|
||||
echo " No EFI boot code for $ARCH on CD$N"
|
||||
|
@ -125,10 +125,10 @@ if [ -d boot$N/grub ] ; then
|
||||
|
||||
# Finally, belt and braces - fix up the %install% entries in grub
|
||||
# in case they're still there
|
||||
sed -i "s,\%install\%,$INSTALLDIR,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|\%install\%|$INSTALLDIR|g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
# Substitute custom KERNEL_PARAMS into grub.cfg
|
||||
sed -i "s,/vmlinuz ,/vmlinuz $KERNEL_PARAMS ,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|/vmlinuz |/vmlinuz $KERNEL_PARAMS |g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
else
|
||||
echo " No EFI boot code for $ARCH on CD$N"
|
||||
|
@ -122,10 +122,10 @@ if [ -d boot$N/grub ] ; then
|
||||
|
||||
# Finally, belt and braces - fix up the %install% entries in grub
|
||||
# in case they're still there
|
||||
sed -i "s,\%install\%,$INSTALLDIR,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|\%install\%|$INSTALLDIR|g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
# Substitute custom KERNEL_PARAMS into grub.cfg
|
||||
sed -i "s,/vmlinuz ,/vmlinuz $KERNEL_PARAMS ,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|/vmlinuz |/vmlinuz $KERNEL_PARAMS |g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
else
|
||||
echo " No EFI boot code for $ARCH on CD$N"
|
||||
|
@ -126,7 +126,7 @@ if [ -d boot$N/grub ] ; then
|
||||
|
||||
# Finally, belt and braces - fix up the %install% entries in grub
|
||||
# in case they're still there
|
||||
sed -i "s,\%install\%,$INSTALLDIR,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|\%install\%|$INSTALLDIR|g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
else
|
||||
echo " No EFI boot code for $ARCH on CD$N"
|
||||
|
@ -153,10 +153,10 @@ if [ -d boot$N/grub ] ; then
|
||||
|
||||
# Finally, belt and braces - fix up the %install% entries in grub
|
||||
# in case they're still there
|
||||
sed -i "s,\%install\%,$INSTALLDIR,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|\%install\%|$INSTALLDIR|g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
# Substitute custom KERNEL_PARAMS into grub.cfg
|
||||
sed -i "s,/vmlinuz ,/vmlinuz $KERNEL_PARAMS ,g" $CDDIR/boot/grub/grub.cfg
|
||||
sed -i "s|/vmlinuz |/vmlinuz $KERNEL_PARAMS |g" $CDDIR/boot/grub/grub.cfg
|
||||
|
||||
else
|
||||
echo " No EFI boot code for $ARCH on CD$N"
|
||||
|
Loading…
Reference in New Issue
Block a user