summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-19 17:36:56 +0200
committerDaniel Baumann <daniel@debian.org>2010-09-19 17:36:56 +0200
commit73b127050d47d5d2b89dd5d0ba4785dac677fbfc (patch)
tree9617dced1e10b246d88b23705999c358c785c200
parent686bf549166cf322184b427917e3e25076ad0043 (diff)
downloadvyos-live-build-73b127050d47d5d2b89dd5d0ba4785dac677fbfc.tar.gz
vyos-live-build-73b127050d47d5d2b89dd5d0ba4785dac677fbfc.zip
Also only respecting packages lists with .list suffix in binary_local-packageslists for consistency.
-rwxr-xr-xscripts/build/lb_binary_local-packageslists4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/lb_binary_local-packageslists b/scripts/build/lb_binary_local-packageslists
index f98742ab7..80f3fb257 100755
--- a/scripts/build/lb_binary_local-packageslists
+++ b/scripts/build/lb_binary_local-packageslists
@@ -38,7 +38,7 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-if Find_files config/binary_local-packageslists/*
+if Find_files config/binary_local-packageslists/*.list
then
# Restoring cache
Restore_cache cache/packages_chroot
@@ -53,7 +53,7 @@ then
mv chroot/var/lib/dpkg/status chroot/var/lib/dpkg/status.tmp
touch chroot/var/lib/dpkg/status
- for PACKAGESLIST in config/binary_local-packageslists/*
+ for PACKAGESLIST in config/binary_local-packageslists/*.list
do
# Generate package list
Expand_packagelist "${PACKAGESLIST}" "config/binary_local-packageslists" "config/chroot_local-packageslists" > chroot/root/"$(basename ${PACKAGESLIST})"