diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2014-09-09 20:54:25 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2014-09-09 21:00:56 +0200 |
commit | 8eaba8ea5ced274ceb8357a64ead3ff05854e9bc (patch) | |
tree | 95052a91ecdf2215c9b98174dad8809f0705b53e /scripts | |
parent | 75ba99dd27aace98d1f4eb3e5a5d897aed0dca3d (diff) | |
download | vyos-live-build-8eaba8ea5ced274ceb8357a64ead3ff05854e9bc.tar.gz vyos-live-build-8eaba8ea5ced274ceb8357a64ead3ff05854e9bc.zip |
Making populating of live.chroot.list distribution specific.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/config | 11 |
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 |