summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-09-09 20:54:25 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2014-09-09 21:00:56 +0200
commit8eaba8ea5ced274ceb8357a64ead3ff05854e9bc (patch)
tree95052a91ecdf2215c9b98174dad8809f0705b53e
parent75ba99dd27aace98d1f4eb3e5a5d897aed0dca3d (diff)
downloadvyos-live-build-8eaba8ea5ced274ceb8357a64ead3ff05854e9bc.tar.gz
vyos-live-build-8eaba8ea5ced274ceb8357a64ead3ff05854e9bc.zip
Making populating of live.chroot.list distribution specific.
-rwxr-xr-xscripts/build/config11
1 files changed, 10 insertions, 1 deletions
diff --git a/scripts/build/config b/scripts/build/config
index 3ebc3a718..e3b1e5170 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -1357,9 +1357,18 @@ then
cat > config/package-lists/live.list.chroot << EOF
live-boot
live-config
-live-config-sysvinit
EOF
+case "${LB_PARENT_DISTRIBUTION}" in
+ wheezy)
+ echo "live-config-sysvinit" >> config/package-lists/live.list.chroot
+ ;;
+
+ *)
+ echo "live-config-systemd" >> config/package-lists/live.list.chroot
+ ;;
+esac
+
fi
cat > config/build << EOF