+# make ISO dd-able {{{
+ if ! $UEFI_ENABLE ; then
+ echo "Skipping check for --uefi option in isohybrid since prerequisites are not fulfilled."
+ else
+ if ! isohybrid --help | grep -q -- --uefi ; then
+ echo "isohybrid version does NOT support --uefi option, disabling"
+ else
+ echo "isohybrid version supports --uefi option"
+ ISOHYBRID_OPTIONS=--uefi
+ fi
+
+ echo "Creating dd-able ISO using isohybrid"
+ isohybrid $ISOHYBRID_OPTIONS "$ISOFILE"
+ fi
+# }}}
+