tsame for iso_squash_strap - libdevuansdk - common library for devuan's simple distro kits
git clone https://git.parazyd.org/libdevuansdk
Log
Files
Refs
Submodules
README
LICENSE
---
commit 520a27422d445d25c4fe53c414f0e081f37afcbd
parent 0066f6c6990057f11bc1f89fe043e137f9cd0780
Author: parazyd 
Date:   Sun, 23 Apr 2017 15:03:22 +0200

same for iso_squash_strap

Diffstat:
  M zlibs/iso                           |       4 ++++

1 file changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/zlibs/iso b/zlibs/iso
t@@ -88,10 +88,13 @@ iso_squash_strap() {
 
         notice "creating squashfs out of strapdir"
 
+        [[ -n "$mkefi" ]] && uefi_opt="-Xbcj x86"
         pushd $workdir
         sudo mksquashfs $strapdir binary/live/filesystem.squashfs \
+                ${=uefi_opt} \
                 -noappend -comp xz || zerr
         popd
+        unset uefi_opt
 }
 
 iso_xorriso_build() {
t@@ -121,6 +124,7 @@ iso_xorriso_build() {
                 -o $R/dist/$isoname \
                 binary || zerr
         popd
+        unset uefi_opt
 }
 
 iso_setup_installer() {