Check for mkfs.fat in PATH to catch missing /sbin early

This commit is contained in:
K. Lange 2018-09-12 10:25:29 +09:00
parent 4cbea4fa88
commit d5f6170991

View File

@ -17,6 +17,11 @@ else
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
echo "mtools is required to build FAT images for EFI / hybrid ISOs"
RET=1