From 61048123d869bd74b6f05ee2995a736078716eb2 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 4 Jun 2012 23:23:49 +0200 Subject: [PATCH] Ignore --uefi option for isohybrid on 32bit systems This avoids this misleading error message: | * Creating hybrid ISO file with isohybrid method | * Detected uefi support for isohybrid, enabling | isohybrid: /srv/jenkins/jobs/grml32-full_testing/workspace/grml_isos/grml32-full_testing_20120603.iso: unable to find efi image | [ !! ] --- grml-live | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/grml-live b/grml-live index b62e89b..ef840f6 100755 --- a/grml-live +++ b/grml-live @@ -1357,9 +1357,14 @@ else # (hidden NTFS, IIRC), as the partition type is sometimes needed # to get the BIOS even look at the partition created by isohybrid if isohybrid --help | grep -q -- --uefi ; then - log "Detected uefi support for isohybrid, enabling" - einfo "Detected uefi support for isohybrid, enabling" - ISOHYBRID_OPTIONS=--uefi + if echo $CLASSES | grep -qw I386 ; then + log "Detected uefi support for isohybrid but 32bit systems do not support it, ignoring." + einfo "Detected uefi support for isohybrid but 32bit systems do not support it, ignoring." + else + log "Detected uefi support for isohybrid, enabling" + einfo "Detected uefi support for isohybrid, enabling" + ISOHYBRID_OPTIONS=--uefi + fi fi log "isohybrid $ISOHYBRID_OPTIONS ${ISO_OUTPUT}/${ISO_NAME}" -- 2.1.4