Skip to content

Commit ae4ade0

Browse files
committed
buildchroot: try to "fix" running on debian
1 parent 0281a1d commit ae4ade0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

buildchroot.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ ramdisksize=1G
2222
#sudo apt install debootstrap qemu-user-static
2323
function checkpkg(){
2424
echo "checking for needed packages..."
25+
#fix for debian where /usr/sbin/ is not in path for normal users (correctly)
26+
export PATH=$PATH:/usr/sbin/
2527
for pkg in debootstrap qemu-arm-static qemu-aarch64-static; do
2628
which $pkg >/dev/null;
2729
if [[ $? -ne 0 ]];then

0 commit comments

Comments
 (0)