Skip to content
Browse files

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
|                                                                          [ !! ]
  • Loading branch information...
1 parent f1c4de5 commit 61048123d869bd74b6f05ee2995a736078716eb2 @mika mika committed Jun 4, 2012
Showing with 8 additions and 3 deletions.
  1. +8 −3 grml-live
View
11 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}"

0 comments on commit 6104812

Please sign in to comment.
Something went wrong with that request. Please try again.