Syslinux directory is evaluated only when Syslinux is used.
This commit is contained in:
parent
c8e0ac2a21
commit
60e9cccb15
@ -5,9 +5,6 @@ set -e
|
||||
# Load common properties and functions in the current script.
|
||||
. ./common.sh
|
||||
|
||||
# Find the Syslinux build directory.
|
||||
WORK_SYSLINUX_DIR=`ls -d $WORK_DIR/syslinux/syslinux-*`
|
||||
|
||||
init() {
|
||||
# Remove the old ISO generation area if it exists.
|
||||
echo "Removing old ISO image work area. This may take a while."
|
||||
@ -56,6 +53,9 @@ prepare_boot_bios() {
|
||||
cp -r $SRC_DIR/minimal_boot/bios/* \
|
||||
$ISOIMAGE
|
||||
|
||||
# Find the Syslinux build directory.
|
||||
WORK_SYSLINUX_DIR=`ls -d $WORK_DIR/syslinux/syslinux-*`
|
||||
|
||||
# Copy the precompiled files 'isolinux.bin' and 'ldlinux.c32'. These files
|
||||
# are used by Syslinux during the legacy BIOS boot process.
|
||||
mkdir -p $ISOIMAGE/boot/syslinux
|
||||
|
Loading…
x
Reference in New Issue
Block a user