diff options
| author | Daniel Baumann <daniel@debian.org> | 2011-08-05 08:53:27 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-08-08 08:10:07 +0200 |
| commit | 724f5b4dc82d2b77279a8daad715878a14a41090 (patch) | |
| tree | c9c7b66ba2422e487d9f3ebd94c6ea56002c27b4 /scripts/build/lb_chroot_local-packagelists | |
| parent | 8a0da5726657de9024197bdb4c17f35423199a0a (diff) | |
| download | vyos-live-build-724f5b4dc82d2b77279a8daad715878a14a41090.tar.gz vyos-live-build-724f5b4dc82d2b77279a8daad715878a14a41090.zip | |
Also using definition files without suffix (so that e.g. foo.list is used for both chroot and binary stage).
Diffstat (limited to 'scripts/build/lb_chroot_local-packagelists')
| -rwxr-xr-x | scripts/build/lb_chroot_local-packagelists | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/build/lb_chroot_local-packagelists b/scripts/build/lb_chroot_local-packagelists index eb93af953..fd5adcf2b 100755 --- a/scripts/build/lb_chroot_local-packagelists +++ b/scripts/build/lb_chroot_local-packagelists @@ -41,10 +41,13 @@ Check_lockfile .lock # Creating lock file Create_lockfile .lock -if ls config/package-lists/*.list.chroot > /dev/null 2>&1 || \ +if ls config/package-lists/*.list > /dev/null 2>&1 || \ + ls config/package-lists/*.list.chroot > /dev/null 2>&1 || \ ls config/package-lists/*.list.chroot_${_PASS} > /dev/null 2>&1 then - for LIST in config/package-lists/*.list.chroot config/package-lists/*.list.chroot_${_PASS} + for LIST in config/package-lists/*.list \ + config/package-lists/*.list.chroot \ + config/package-lists/*.list.chroot_${_PASS} do if [ -e "${LIST}" ] then |
