summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-05-04 21:37:03 +0100
committerLyndon Brown <jnqnfe@gmail.com>2020-05-04 21:40:08 +0100
commitf3a818da9ab1998944c20b0847a733bbdacb61d8 (patch)
tree53092faf2e75df867a2229c2dc4ee1ab60186415
parent976be9f44bca9ee8be7e438348c1068faf50d9c6 (diff)
downloadvyos-live-build-f3a818da9ab1998944c20b0847a733bbdacb61d8.tar.gz
vyos-live-build-f3a818da9ab1998944c20b0847a733bbdacb61d8.zip
binary_hdd: remove incorrect local scope
the "FIXME" function wrapper is just to temporarily disable the code. Gbp-Dch: Ignore
-rwxr-xr-xscripts/build/binary_hdd2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd
index 0a4d3a2fc..beaff873d 100755
--- a/scripts/build/binary_hdd
+++ b/scripts/build/binary_hdd
@@ -286,8 +286,6 @@ find /live/vmlinuz
EOM
EOF
- local rootpartition
- local hdddev
rootpartition="$(Chroot chroot 'sh grub.sh' 2>/dev/null | grep -A 1 'find /live/vmlinuz' | grep -v 'find /live/vmlinuz')"
hdddev="$(echo $rootpartition | sed -e 's|,[[:digit:]]||')"
echo "Root partition is $rootpartition, device is: $hdddev"