From 8eaba8ea5ced274ceb8357a64ead3ff05854e9bc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 9 Sep 2014 20:54:25 +0200 Subject: Making populating of live.chroot.list distribution specific. --- scripts/build/config | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'scripts/build') 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 -- cgit v1.2.3