summaryrefslogtreecommitdiff
path: root/scripts/build/config
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-12-10 08:38:42 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2014-12-10 08:38:42 +0100
commitb5e99b5b1410680823d2e4f3c2d38d995e222ab3 (patch)
tree2b5f27e2ee961bd33eb94fa2814e8a93dc0db3e0 /scripts/build/config
parenta767601f25c43986250746b3e14b9cc24e35c230 (diff)
downloadvyos-live-build-b5e99b5b1410680823d2e4f3c2d38d995e222ab3.tar.gz
vyos-live-build-b5e99b5b1410680823d2e4f3c2d38d995e222ab3.zip
Dropping support for wheezy.
Diffstat (limited to 'scripts/build/config')
-rwxr-xr-xscripts/build/config30
1 files changed, 11 insertions, 19 deletions
diff --git a/scripts/build/config b/scripts/build/config
index 0cf42ab68..3a7a2b701 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -1360,27 +1360,19 @@ then
echo "live-boot" > config/package-lists/live.list.chroot
echo "live-config" >> config/package-lists/live.list.chroot
- case "${LB_PARENT_DISTRIBUTION}" in
- wheezy)
- echo "live-config-sysvinit" >> config/package-lists/live.list.chroot
+ case "${LB_INITSYSTEM}" in
+ none)
+ # do nothing
;;
- *)
- case "${LB_INITSYSTEM}" in
- none)
- # do nothing
- ;;
-
- systemd)
- echo "live-config-systemd" >> config/package-lists/live.list.chroot
- echo "dbus" >> config/package-lists/live.list.chroot
- ;;
-
- sysvinit|upstart)
- echo "live-config-${LB_INITSYSTEM}" >> config/package-lists/live.list.chroot
- echo "sysvinit-core" >> config/package-lists/live.list.chroot
- ;;
- esac
+ systemd)
+ echo "live-config-systemd" >> config/package-lists/live.list.chroot
+ echo "dbus" >> config/package-lists/live.list.chroot
+ ;;
+
+ sysvinit|upstart)
+ echo "live-config-${LB_INITSYSTEM}" >> config/package-lists/live.list.chroot
+ echo "sysvinit-core" >> config/package-lists/live.list.chroot
;;
esac
;;