Merge branch 'hayao0819/archiso-fix-mmd-validation-error'

* hayao0819/archiso-fix-mmd-validation-error:
  mkarchiso: Fix mmd-command check
This commit is contained in:
nl6720 2022-01-09 11:14:10 +02:00
commit e2e4f3d619
No known key found for this signature in database
GPG Key ID: 5CE88535E188D369

View File

@ -653,6 +653,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