5 # Including common functions
6 .
"${LB_BASE:-/usr/share/live/build}"/scripts
/build.sh
8 # Setting static variables
9 DESCRIPTION
="$(Echo 'fixing syslinux installation')"
13 # Reading configuration files
14 Read_conffiles config
/all config
/bootstrap config
/common config
/binary
18 [ "${LB_BOOTLOADER}" = "syslinux" ] ||
exit 0
19 [ "${LB_ARCHITECTURE}" = "i386" ] ||
exit 0
21 # Seems like we'll have work to do
22 Echo_message
"fixing syslinux installation"
24 # Setting boot method specific variables
25 case "${LB_BINARY_IMAGES}" in
27 SYSLINUX_PATH
="binary/isolinux"
30 SYSLINUX_PATH
="binary/syslinux"
35 for module
in ldlinux libcom32 libutil
37 cp chroot
/usr
/lib
/syslinux
/modules
/bios
/"${module}.c32" "$SYSLINUX_PATH"