diff options
author | Daniel Baumann <daniel@debian.org> | 2012-11-30 15:06:57 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-11-30 15:06:57 +0100 |
commit | 2df809705d670993096e841173f565323d93da8a (patch) | |
tree | fbe16f8aeb4a4ed91f5f80b4b95eb6591a49cd3c /scripts/build/binary_grub | |
parent | 8affdd79d0c1e316e5ab3dc87df3caaea4b202ce (diff) | |
download | vyos-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_grub')
-rwxr-xr-x | scripts/build/binary_grub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/binary_grub b/scripts/build/binary_grub index af637229c..cef3da768 100755 --- a/scripts/build/binary_grub +++ b/scripts/build/binary_grub @@ -264,7 +264,7 @@ fi cp ${FILES} binary/boot/grub sed -i -e "s|LINUX_LIVE|${LINUX_LIVE}|" -e "s|LINUX_INSTALL|${LINUX_INSTALL}|" -e "s|MEMTEST|${MEMTEST}|" binary/boot/grub/menu.lst -sed -i -e "s|LB_BOOTAPPEND_INSTALL|${LB_BOOTAPPEND_INSTALL}|" -e "s|LB_BOOTAPPEND_LIVE|${LB_BOOTAPPEND_LIVE}|" binary/boot/grub/menu.lst +sed -i -e "s#LB_BOOTAPPEND_INSTALL#${LB_BOOTAPPEND_INSTALL}#" -e "s#LB_BOOTAPPEND_LIVE#${LB_BOOTAPPEND_LIVE}#" binary/boot/grub/menu.lst sed -i -e 's|\ $||g' binary/boot/grub/menu.lst |