libdevuansdk

common library for devuan's simple distro kits
git clone https://git.parazyd.org/libdevuansdk
Log | Files | Refs | Submodules | README | LICENSE

commit fb48ba1396bfc2d7d9d1b658f69f0c33b01bdc91
parent 2ff881612c4c4339b23facb9f71ffbbc2adcd49a
Author: parazyd <parazyd@dyne.org>
Date:   Mon, 15 May 2017 18:50:57 +0200

support for gentoo isohybrid path

Diffstat:
Azlibs/.helpers.swp | 0
Mzlibs/iso | 12+++++++++++-
2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/zlibs/.helpers.swp b/zlibs/.helpers.swp Binary files differ. diff --git a/zlibs/iso b/zlibs/iso @@ -124,10 +124,20 @@ iso_xorriso_build() { uefi_opt="-eltorito-alt-boot -e boot/grub/efiboot.img -isohybrid-gpt-basdat -no-emul-boot" } + eval $(cat /etc/os-release) + case "$ID" in + devuan) + isohybrid=/usr/lib/ISOLINUX/isohdpfx.bin + ;; + gentoo) + isohybrid=/usr/share/syslinux/isohdpfx.bin + ;; + esac + mkdir -p $R/dist pushd $workdir sudo xorriso -as mkisofs -r -J -joliet-long -l \ - -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin \ + -isohybrid-mbr $isohybrid \ -partition_offset 16 \ -A "${os} Live - ${arch}" \ -b isolinux/isolinux.bin \