diff options
author | Jaakko Perttilä <jormangeud@gmail.com> | 2018-10-26 19:34:01 +0300 |
---|---|---|
committer | Iru Cai (vimacs) <mytbk920423@gmail.com> | 2018-11-03 11:05:34 +0800 |
commit | 04275b2d0effdc049b5f0048134813c485c0f8f1 (patch) | |
tree | c29dd44aa30234613d9be47a6e5f18d41fe2cdd2 | |
parent | 909115cc43f06c2305e6fb1b75832d73014da60e (diff) | |
download | liveusb-builder-04275b2d0effdc049b5f0048134813c485c0f8f1.tar.xz |
Try syslinux path on a gentoo install.
-rwxr-xr-x | install_syslinux | 4 |
1 files changed, 4 insertions, 0 deletions
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" |