Use full path to mkfs.ext4
On some systems (Debian, OpenSUSE) /sbin isn't in PATH for normal users.
This commit is contained in:
parent
a78fc2ddbb
commit
6dbed7ec3b
@ -80,7 +80,7 @@ EOF
|
||||
fi
|
||||
|
||||
echo "-> Creating filesystem..."
|
||||
mkfs.ext4 -q -F "${IMG_DEV}" || exit 1
|
||||
/sbin/mkfs.ext4 -q -F "${IMG_DEV}" || exit 1
|
||||
fi
|
||||
|
||||
mount "${IMG_DEV}" "${INSTALLDIR}" || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user