fix: verify all mtools are available

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
Martin Wimpress 2026-01-24 12:38:45 +00:00
parent 1783381e29
commit f9249d657f
1 changed files with 1 additions and 1 deletions

View File

@ -2300,7 +2300,7 @@ function get_macos() {
# Check if mtools and sgdisk are available for integrated OpenCore
MCOPY=$(command -v mcopy)
if [ ! -x "${MCOPY}" ] || [ ! -x "$(command -v sgdisk)" ]; then
if [ ! -x "${MCOPY}" ] || [ ! -x "$(command -v mformat)" ] || [ ! -x "$(command -v mmd)" ] || [ ! -x "$(command -v sgdisk)" ]; then
echo " - NOTE: mtools or sgdisk not found, using legacy OpenCore.qcow2 method."
USE_INTEGRATED_OPENCORE=0
fi