diff options
Diffstat (limited to 'auto/build')
-rwxr-xr-x | auto/build | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -30,11 +30,21 @@ prebuild() # make current build configuration available for hooks inside chroot mkdir -p config/chroot_local-includes/root cat config/* 2>/dev/null | grep ^LH_ > config/chroot_local-includes/root/build.conf + + # Kanotix flavours + if [ "$LH_KANOTIX_FLAVOURS" -a "$LH_KANOTIX_FLAVOURS" != "none" ]; then + echo "# DO NOT EDIT THIS FILE! It is auto-generated and will be deleted/ overwritten!" > config/chroot_local-packageslists/kanotix-flavours.list + for FLAVOUR in $LH_KANOTIX_FLAVOURS + do + echo "#include <$FLAVOUR>" >> config/chroot_local-packageslists/kanotix-flavours.list + done + fi } postbuild() { rm -f config/chroot_local-includes/root/build.conf + rm -f config/chroot_local-packageslists/kanotix-flavours.list } if [ "$LH_KANOTIX_TMPFS" = "true" ]; then |