summaryrefslogtreecommitdiff
path: root/scripts/build/binary_silo
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_silo
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_silo')
-rwxr-xr-xscripts/build/binary_silo4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/binary_silo b/scripts/build/binary_silo
index b1ec175e4..8e833d1cc 100755
--- a/scripts/build/binary_silo
+++ b/scripts/build/binary_silo
@@ -219,8 +219,8 @@ case "${LB_BINARY_IMAGES}" in
sed -i -e "s|LINUX_LIVE|${LINUX_LIVE}|" \
-e "s|LINUX_INSTALL|${LINUX_INSTALL}|" \
binary/boot/silo.conf
- sed -i -e "s|LB_BOOTAPPEND_INSTALL|${LB_BOOTAPPEND_INSTALL}|" \
- -e "s|LB_BOOTAPPEND_LIVE|${LB_BOOTAPPEND_LIVE}|" \
+ sed -i -e "s#LB_BOOTAPPEND_INSTALL#${LB_BOOTAPPEND_INSTALL}#" \
+ -e "s#LB_BOOTAPPEND_LIVE#${LB_BOOTAPPEND_LIVE}#" \
binary/boot/silo.conf
sed -i -e "s|LB_DATE|$(date +%Y%m%d)|" \
-e "s|LB_VERSION|${VERSION}|" \