summaryrefslogtreecommitdiff
path: root/scripts/build/binary_yaboot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-11-30 15:06:57 +0100
committerDaniel Baumann <daniel@debian.org>2012-11-30 15:06:57 +0100
commit2df809705d670993096e841173f565323d93da8a (patch)
treefbe16f8aeb4a4ed91f5f80b4b95eb6591a49cd3c /scripts/build/binary_yaboot
parent8affdd79d0c1e316e5ab3dc87df3caaea4b202ce (diff)
downloadvyos-live-build-2df809705d670993096e841173f565323d93da8a.tar.gz
vyos-live-build-2df809705d670993096e841173f565323d93da8a.zip
Using hash rather than pipe as sed separator for writing boot parameters into bootloader configurations (Closes: #694723).
Diffstat (limited to 'scripts/build/binary_yaboot')
-rwxr-xr-xscripts/build/binary_yaboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/binary_yaboot b/scripts/build/binary_yaboot
index 4838cf351..8fc5a64dd 100755
--- a/scripts/build/binary_yaboot
+++ b/scripts/build/binary_yaboot
@@ -269,7 +269,7 @@ case "${LB_BINARY_IMAGES}" in
# Configure yaboot templates
sed -i -e "s|LINUX_LIVE|${LINUX_LIVE}|" -e "s|LINUX_INSTALL|${LINUX_INSTALL}|" binary/yaboot/yaboot.conf
- sed -i -e "s|LB_BOOTAPPEND_INSTALL|${LB_BOOTAPPEND_INSTALL}|" -e "s|LB_BOOTAPPEND_LIVE|${LB_BOOTAPPEND_LIVE}|" binary/yaboot/yaboot.conf
+ sed -i -e "s#LB_BOOTAPPEND_INSTALL#${LB_BOOTAPPEND_INSTALL}#" -e "s#LB_BOOTAPPEND_LIVE#${LB_BOOTAPPEND_LIVE}#" binary/yaboot/yaboot.conf
sed -i -e "s|LB_DATE|$(date +%Y%m%d)|" -e "s|LB_VERSION|${VERSION}|" binary/yaboot/boot.msg
;;
esac