syslinux: cleanup syslinux/.in/ always
This commit is contained in:
parent
98a5f60a53
commit
354c2da85c
@ -2,6 +2,12 @@
|
|||||||
# gather syslinux configuration from snippets;
|
# gather syslinux configuration from snippets;
|
||||||
# copy modules; see also this feature's generate.mk
|
# copy modules; see also this feature's generate.mk
|
||||||
|
|
||||||
|
# snippets are not going into the actual image
|
||||||
|
final_exit () {
|
||||||
|
if [ "$DEBUG" != 2 ]; then rm -r .in/; fi
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
MODDIR="/usr/lib/syslinux"
|
MODDIR="/usr/lib/syslinux"
|
||||||
|
|
||||||
case "$GLOBAL_BOOTLOADER" in
|
case "$GLOBAL_BOOTLOADER" in
|
||||||
@ -38,7 +44,7 @@ fi
|
|||||||
# validate just in case (see also stage1 Makefile)
|
# validate just in case (see also stage1 Makefile)
|
||||||
case "$GLOBAL_BOOTLOADER" in
|
case "$GLOBAL_BOOTLOADER" in
|
||||||
isolinux|syslinux) ;;
|
isolinux|syslinux) ;;
|
||||||
*) exit 0;;
|
*) final_exit;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# copy extra files, if any
|
# copy extra files, if any
|
||||||
@ -56,8 +62,7 @@ if [ -n "$SYSLINUX_MODULES" ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# snippets are not going into the actual image
|
final_exit
|
||||||
if [ "$DEBUG" != 2 ]; then rm -r .in/; fi
|
|
||||||
|
|
||||||
# NB: there will be final macro expansion based on actual image sizes
|
# NB: there will be final macro expansion based on actual image sizes
|
||||||
# done by features.in/syslinux/scripts.d/20-propagator-ramdisk
|
# done by features.in/syslinux/scripts.d/20-propagator-ramdisk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user