Check for mkfs.fat in PATH to catch missing /sbin early
This commit is contained in:
parent
4cbea4fa88
commit
d5f6170991
@ -17,6 +17,11 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! which mkfs.fat >/dev/null; then
|
||||||
|
echo "mkfs.fat is required (and should be in your PATH) to build EFI file systems"
|
||||||
|
RET=1
|
||||||
|
fi
|
||||||
|
|
||||||
if ! which mcopy >/dev/null; then
|
if ! which mcopy >/dev/null; then
|
||||||
echo "mtools is required to build FAT images for EFI / hybrid ISOs"
|
echo "mtools is required to build FAT images for EFI / hybrid ISOs"
|
||||||
RET=1
|
RET=1
|
||||||
|
Loading…
Reference in New Issue
Block a user