mirror of
https://github.com/ipxe/ipxe
synced 2025-12-15 09:04:37 +03:00
[build] Update build system for Syslinux 6.x
Syslinux 6.x places its files into a bios subdirectory, and requires that a ldlinux.c32 module be included within the ISO image. Add the relevant search paths for isolinux.bin, and include the file ldlinux.c32 within the ISO image if it exists. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
committed by
Michael Brown
parent
2fa34085e2
commit
3f9a482b88
@@ -38,6 +38,14 @@ shift
|
||||
dir=`mktemp -d bin/iso.dir.XXXXXX`
|
||||
cfg=$dir/isolinux.cfg
|
||||
cp -p $isolinux_bin $dir
|
||||
|
||||
# syslinux 6.x needs a file called ldlinux.c32
|
||||
ldlinux_c32=$(dirname ${isolinux_bin})/ldlinux.c32
|
||||
if [ -s ${ldlinux_c32} ]
|
||||
then
|
||||
cp -p ${ldlinux_c32} ${dir}
|
||||
fi
|
||||
|
||||
cat > $cfg <<EOF
|
||||
# These default options can be changed in the geniso script
|
||||
SAY iPXE ISO boot image
|
||||
|
||||
Reference in New Issue
Block a user