Use full path to mkfs.ext4

On some systems (Debian, OpenSUSE) /sbin isn't in PATH for normal users.
This commit is contained in:
Marek Marczykowski-Górecki 2018-06-13 20:53:53 +02:00
parent a78fc2ddbb
commit 6dbed7ec3b
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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