From 04275b2d0effdc049b5f0048134813c485c0f8f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Perttil=C3=A4?= Date: Fri, 26 Oct 2018 19:34:01 +0300 Subject: Try syslinux path on a gentoo install. --- install_syslinux | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install_syslinux b/install_syslinux index d4fdbf9..0f110a4 100755 --- a/install_syslinux +++ b/install_syslinux @@ -10,6 +10,10 @@ DEVNAME="$1" BOOTPART="$2" BOOTPATH="$3" +if [ ! -d "$SYSLINUX_BIOS" ]; then + SYSLINUX_BIOS=/usr/share/syslinux +fi + test -d "$SYSLINUX_BIOS" syslinux -i "$BOOTPART" dd bs=440 count=1 conv=notrunc if="$SYSLINUX_BIOS/mbr.bin" of="$DEVNAME" -- cgit v1.2.3