Commit 7ca8b93d authored by Alexander Siol's avatar Alexander Siol Committed by Kevin Wolf

Buildsystem: Korrektes auffinden von syslinux

! syslinux: In neueren Versionen sind Files für bios- und UEFI-Boot
  vorhanden. Mit diesem Patch wird das vorhandensein hiervon erkannt und
  die bios-files verwendet.
Signed-off-by: 's avatarAlexander Siol <dunklermeuchler@gmail.com>
Acked-by: 's avatarKevin Wolf <kwolf@tyndur.org>
parent eb01af85
...@@ -5,7 +5,7 @@ LOST_TOOLS_PPC=$LOST_BUILDMK_ROOT/lbuilds/env/bin/fpc ...@@ -5,7 +5,7 @@ LOST_TOOLS_PPC=$LOST_BUILDMK_ROOT/lbuilds/env/bin/fpc
LOST_GRUB_STAGESDIR=/boot/grub LOST_GRUB_STAGESDIR=/boot/grub
LOST_TOOLS_GRUB=grub LOST_TOOLS_GRUB=grub
LOST_TOOLS_MKE2FS=/sbin/mke2fs LOST_TOOLS_MKE2FS=/sbin/mke2fs
LOST_TOOLS_QEMU=qemu LOST_TOOLS_QEMU=qemu-system-x86_64
if [ -d /usr/lib/grub2/i386-pc ]; then if [ -d /usr/lib/grub2/i386-pc ]; then
LOST_GRUB2_MODULESDIR=/usr/lib/grub2/i386-pc LOST_GRUB2_MODULESDIR=/usr/lib/grub2/i386-pc
...@@ -19,6 +19,10 @@ else ...@@ -19,6 +19,10 @@ else
LOST_SYSLINUX_DIR=/usr/share/syslinux LOST_SYSLINUX_DIR=/usr/share/syslinux
fi fi
if [ -d ${LOST_SYSLINUX_DIR}/bios ]; then
LOST_SYSLINUX_DIR=${LOST_SYSLINUX_DIR}/bios
fi
[ -f $LOST_BUILDMK_ROOT/myconf.sh ] && source $LOST_BUILDMK_ROOT/myconf.sh [ -f $LOST_BUILDMK_ROOT/myconf.sh ] && source $LOST_BUILDMK_ROOT/myconf.sh
# Ab hier nicht mehr anpassen # Ab hier nicht mehr anpassen
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment