diff options
Diffstat (limited to 'scripts/build/config')
-rwxr-xr-x | scripts/build/config | 30 |
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 ;; |