diff options
Diffstat (limited to 'scripts/build/lb_binary_syslinux')
-rwxr-xr-x | scripts/build/lb_binary_syslinux | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/scripts/build/lb_binary_syslinux b/scripts/build/lb_binary_syslinux index 153acf21c..866e790c9 100755 --- a/scripts/build/lb_binary_syslinux +++ b/scripts/build/lb_binary_syslinux @@ -51,7 +51,16 @@ Check_crossarchitectures case "${LB_BINARY_IMAGES}" in iso*) _BOOTLOADER="isolinux" - _TARGET="binary/isolinux" + + case "${LB_MODE}" in + progress) + _TARGET="binary/boot" + ;; + + *) + _TARGET="binary/isolinux" + ;; + esac ;; net*) @@ -61,7 +70,16 @@ case "${LB_BINARY_IMAGES}" in hdd*|*) _BOOTLOADER="syslinux" - _TARGET="binary/syslinux" + + case "${LB_MODE}" in + progress) + _TARGET="binary/boot" + ;; + + *) + _TARGET="binary/syslinux" + ;; + esac ;; esac @@ -222,6 +240,18 @@ then ${_TARGET}/install.cfg fi +case "${LB_MODE}" in + progress) + for _FILE in "${_TARGET}/isolinux.bin" "${_TARGET}/isolinux.cfg" "${_TARGET}/syslinux.cfg" + do + if [ -e "${_FILE}" ] + then + mv "${_FILE}" $(echo ${_FILE} | sed -e 's|.*linux|boot|') + fi + done + ;; +esac + case "${LB_BUILD_WITH_CHROOT}" in true) # Saving cache |