commit 2ff881612c4c4339b23facb9f71ffbbc2adcd49a parent 46f32b43a4293b78530cb41dab6bf3d7f4293cef Author: parazyd <parazyd@dyne.org> Date: Mon, 15 May 2017 18:16:44 +0200 support gentoo isolinux location Diffstat:
M | zlibs/iso | | | 23 | +++++++++++++++++++---- |
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/zlibs/iso b/zlibs/iso @@ -52,10 +52,25 @@ iso_setup_isolinux() { sudo cp $strapdir/boot/vmlinuz* binary/live/vmlinuz sudo cp $strapdir/boot/initrd* binary/live/initrd - sudo cp /usr/share/live/build/bootloaders/isolinux/isolinux.bin \ - binary/isolinux || zerr - sudo cp /usr/share/live/build/bootloaders/isolinux/*.c32 \ - binary/isolinux || zerr + eval $(cat /etc/os-release) + case "$ID" in + devuan) + sudo cp \ + /usr/share/live/build/bootloaders/isolinux/isolinux.bin \ + binary/isolinux || zerr + sudo cp /usr/share/live/build/bootloaders/isolinux/*.c32 \ + binary/isolinux || zerr + ;; + gentoo) + sudo cp \ + /usr/share/syslinux/isolinux.bin binary/isolinux || zerr + sudo cp \ + /usr/share/syslinux/*.c32 binary/isolinux || zerr + ;; + *) + warn "no isolinux has been copied. take care of it yourself" + ;; + esac popd }