summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2013-08-26 21:28:38 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2013-08-27 06:46:21 +0200
commit3b0a401d4eaa4c961c6a07c3a98c3d40b0a3e031 (patch)
treea0d5c539f2e8679234550df0e48c27082e83476d /auto
parenteed584b30c1d4b96e0be8dcf6781acb0aa30c37a (diff)
downloadkanotix-3b0a401d4eaa4c961c6a07c3a98c3d40b0a3e031.zip
kanotix-3b0a401d4eaa4c961c6a07c3a98c3d40b0a3e031.tar.gz
added some optional proprietary packages/ repositories and hooks
Diffstat (limited to 'auto')
-rwxr-xr-xauto/build4
-rwxr-xr-xauto/clean2
-rwxr-xr-xauto/config2
-rwxr-xr-xauto/kanotix2
4 files changed, 4 insertions, 6 deletions
diff --git a/auto/build b/auto/build
index 307433a..51fa7f0 100755
--- a/auto/build
+++ b/auto/build
@@ -20,10 +20,6 @@ perl -pi -e "s%(32|64)(bit)%$bit\${2}%i; s|[0-9]+-[0-9]+:[0-9]+|$(date +%Y%m%d-%
prebuild()
{
- # make current build configuration available for hooks inside chroot
- mkdir -p config/chroot_local-includes/root
- cat config/* 2>/dev/null | grep ^LB_ > config/chroot_local-includes/root/build.conf
-
for bootstrap_dir in cache/stages_bootstrap cache/bootstrap
do
if [ -d ${bootstrap_dir} ]; then
diff --git a/auto/clean b/auto/clean
index 0802004..1128427 100755
--- a/auto/clean
+++ b/auto/clean
@@ -4,7 +4,7 @@ rm -f build.log
# Remove generated files
rm -f config/binary config/bootstrap config/chroot config/common config/source \
- config/kanotix config/chroot_local-includes/root/build.conf config/chroot_local-packageslists/kanotix-flavours.list
+ config/kanotix config/chroot_local-packageslists/kanotix-flavours.list
rm -f config/package-lists/compat.list.chroot
if [ -f config/all ]; then
sed -i '/^. config\/kanotix/d' config/all
diff --git a/auto/config b/auto/config
index eade4e0..c59bf4a 100755
--- a/auto/config
+++ b/auto/config
@@ -75,6 +75,8 @@ grep -wq mesa <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" mesa"
grep -wq steam <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" steam steam-wheezy"
grep -wq firefox <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" firefox-wheezy"
grep -wq silverlight <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" silverlight"
+grep -wq spotify <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" spotify"
+grep -wq -e hangouts -e talkplugin <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" hangouts"
lb config noauto --linux-packages "$LB_LINUX_PACKAGES" --linux-flavours "$LB_LINUX_FLAVOURS" --repositories "$LB_REPOSITORIES"
# Fetch kanotix-scripts if necessary
diff --git a/auto/kanotix b/auto/kanotix
index 45b9c97..deac58b 100755
--- a/auto/kanotix
+++ b/auto/kanotix
@@ -37,7 +37,7 @@ LB_KANOTIX_TMPFS_OPTIONS="${LB_KANOTIX_TMPFS_OPTIONS}"
LB_KANOTIX_GFXOVERLAYS="${LB_KANOTIX_GFXOVERLAYS}"
EOF
-grep -q ". config/kanotix" config/all 2>/dev/null || echo ". config/kanotix" >> config/all
+grep -q ". config/kanotix" config/all 2>/dev/null || echo "[ -r config/kanotix ] && . config/kanotix" >> config/all
}
# process Kanotix config values