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"