mkimage: check for losetup existence too.

This commit is contained in:
Juan RP 2013-11-12 16:48:55 +01:00
parent adf32efa6b
commit ede54ad439
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ if [ -z "$FILENAME" ]; then
FILENAME="void-image-$(date +%Y%m%d).img"
fi
for f in parted mkfs.${BOOT_FSTYPE} mkfs.${ROOT_FSTYPE}; do
for f in parted losetup mount mkfs.${BOOT_FSTYPE} mkfs.${ROOT_FSTYPE}; do
if ! which ${f} >/dev/null; then
die "Cannot find ${f}, exiting."
fi