tapply uefi_opt if we're building a uefi-enabled iso - libdevuansdk - common library for devuan's simple distro kits
 (HTM) git clone https://git.parazyd.org/libdevuansdk
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 0066f6c6990057f11bc1f89fe043e137f9cd0780
 (DIR) parent b7fedae88529443141471043acf75223befc5f34
 (HTM) Author: parazyd <parazyd@dyne.org>
       Date:   Sun, 23 Apr 2017 14:59:01 +0200
       
       apply uefi_opt if we're building a uefi-enabled iso
       
       Diffstat:
         M zlibs/iso                           |       5 +++++
       
       1 file changed, 5 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/zlibs/iso b/zlibs/iso
       t@@ -102,6 +102,10 @@ iso_xorriso_build() {
                notice "building iso..."
                isoname="${image_name}-live.iso"
        
       +        [[ -n "$mkefi" ]] && {
       +        uefi_opt="-eltorito-alt-boot -e boot/grub/efiboot.img -isohybrid-gpt-basdat -no-emul-boot"
       +        }
       +
                mkdir -p $R/dist
                pushd $workdir
                sudo xorriso -as mkisofs -r -J -joliet-long -l \
       t@@ -113,6 +117,7 @@ iso_xorriso_build() {
                        -no-emul-boot \
                        -boot-load-size 4 \
                        -boot-info-table \
       +                ${=uefi_opt} \
                        -o $R/dist/$isoname \
                        binary || zerr
                popd