syslinux: fix broken 01-syslinux script in previous version 1.4.18

This commit is contained in:
Anton Midyukov 2021-10-14 17:12:12 +07:00
parent 553011ed95
commit f23dd4884c

View File

@ -35,9 +35,6 @@ if ! grep -i '^default' "$CFG"; then
fi
fi
# snippets are not going into the actual image
if [ "$DEBUG" != 2 ]; then rm -r .in/; fi
# validate just in case (see also stage1 Makefile)
case "$GLOBAL_BOOTLOADER" in
isolinux|syslinux) ;;
@ -59,5 +56,8 @@ if [ -n "$SYSLINUX_MODULES" ]; then
done
fi
# snippets are not going into the actual image
if [ "$DEBUG" != 2 ]; then rm -r .in/; fi
# NB: there will be final macro expansion based on actual image sizes
# done by features.in/syslinux/scripts.d/20-propagator-ramdisk