summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2022-04-27 01:46:21 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2022-04-27 01:49:29 -0400
commita523ce1ddc7b691cf1a38a72c239167ea5b00586 (patch)
treed0bcd7ff2a79d6493ba0673dafb4d6963c964989
parenta019c01b17fabe5556c163c792ad61c3dbf12615 (diff)
make mtools validation a fatal error
-rwxr-xr-xparabolaiso/mkparabolaiso2
1 files changed, 2 insertions, 0 deletions
diff --git a/parabolaiso/mkparabolaiso b/parabolaiso/mkparabolaiso
index 20e5866..f211e92 100755
--- a/parabolaiso/mkparabolaiso
+++ b/parabolaiso/mkparabolaiso
@@ -675,6 +675,7 @@ _validate_requirements_bootmode_uefi-x64.systemd-boot.esp() {
# Check if mmd and mcopy are available
if ! { command -v mmd &> /dev/null && command -v mcopy &> /dev/null; }; then
+ (( validation_error=validation_error+1 ))
_msg_error "Validating '${bootmode}': mmd and/or mcopy are not available on this host. Install 'mtools'!" 0
fi
@@ -720,6 +721,7 @@ _validate_requirements_bootmode_uefi-x64.refind.esp() {
# Check if mmd and mcopy are available
if ! { command -v mmd &> /dev/null && command -v mcopy &> /dev/null; }; then
+ (( validation_error=validation_error+1 ))
_msg_error "Validating '${bootmode}': mmd and/or mcopy are not available on this host. Install 'mtools'!" 0
fi