diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2013-11-05 11:16:39 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-11-05 11:16:39 +0100 |
commit | 42fb1e197607ac8920b3f8f3a583d1d540c5ae05 (patch) | |
tree | 89e899ed37a4ab5ec519494b0a26f730ecba20a0 /scripts/build/config | |
parent | 19cc16df3fb55b894c0bc7afae1d7150b4e211a4 (diff) | |
download | vyos-live-build-42fb1e197607ac8920b3f8f3a583d1d540c5ae05.tar.gz vyos-live-build-42fb1e197607ac8920b3f8f3a583d1d540c5ae05.zip |
Dropping chroot_live-packages by moving logic outside of live-build into the config directory.
Diffstat (limited to 'scripts/build/config')
-rwxr-xr-x | scripts/build/config | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/build/config b/scripts/build/config index 87f5852e0..670479def 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -1475,5 +1475,17 @@ do fi done +case "${LB_SYSTEM}" in + live) + for _PACKAGE in live-boot live-config live-config-sysvinit + do + if ! grep -qs "${_PACKAGE}" config/package-lists/* + then + echo "${_PACKAGE}" >> config/package-lists/live.list.chroot + fi + done + ;; +esac + # Creating stage file Create_stagefile .build/config |