summaryrefslogtreecommitdiff
path: root/scripts/build/binary_hdd
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-02-22 14:36:58 +0000
committerLyndon Brown <jnqnfe@gmail.com>2020-03-05 19:25:13 +0000
commit5c3679c882d4cdb7547edafb8d4a498446520f52 (patch)
tree0fc55994bfef8caca31e0f6c2ae1b2719e606dfa /scripts/build/binary_hdd
parent7fb46c464b8ee697e4c91364b8f4ae0b3c277d87 (diff)
downloadvyos-live-build-5c3679c882d4cdb7547edafb8d4a498446520f52.tar.gz
vyos-live-build-5c3679c882d4cdb7547edafb8d4a498446520f52.zip
add missing shebangs to temp generated shell code files
Closes: #952863
Diffstat (limited to 'scripts/build/binary_hdd')
-rwxr-xr-xscripts/build/binary_hdd2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd
index a0d45392b..e6c6bdfa3 100755
--- a/scripts/build/binary_hdd
+++ b/scripts/build/binary_hdd
@@ -285,6 +285,7 @@ if [ "${LB_FIRST_BOOTLOADER}" = "grub" ]
then
cat > chroot/grub.sh << EOF
+#!/bin/sh
cd binary.tmp
grub --batch << EOM
find /live/vmlinuz
@@ -298,6 +299,7 @@ EOF
echo "WAITING..." && read WAIT
#cat > chroot/grub.sh << EOF
+#!/bin/sh
#grub --batch << EOM
#root $rootpartition
#setup $hdddev