summaryrefslogtreecommitdiff
path: root/auto/build
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2010-09-08 20:58:47 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2010-09-08 20:58:47 +0200
commit438c4c16efc3d5711f69f46462211e34d555515b (patch)
tree719712fbc043570cf7c8af6af11c8eda304799a3 /auto/build
parent6e981ad6ec029d6de9349a76d15f579c11cf45eb (diff)
downloadkanotix-438c4c16efc3d5711f69f46462211e34d555515b.zip
kanotix-438c4c16efc3d5711f69f46462211e34d555515b.tar.gz
changed packageslists, added "--kanotix-flavours"
Diffstat (limited to 'auto/build')
-rwxr-xr-xauto/build10
1 files changed, 10 insertions, 0 deletions
diff --git a/auto/build b/auto/build
index b54183c..62e8d8b 100755
--- a/auto/build
+++ b/auto/build
@@ -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