diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2022-04-27 01:46:21 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2022-04-27 01:49:29 -0400 |
commit | a523ce1ddc7b691cf1a38a72c239167ea5b00586 (patch) | |
tree | d0bcd7ff2a79d6493ba0673dafb4d6963c964989 | |
parent | a019c01b17fabe5556c163c792ad61c3dbf12615 (diff) |
make mtools validation a fatal error
-rwxr-xr-x | parabolaiso/mkparabolaiso | 2 |
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 |