summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_packageslists
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-04-17 21:26:34 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:32 +0100
commitffa20df08243c6d19a47ef182a0fa7438f60f800 (patch)
treec789fc1bc7c618f66da80ca44b3b03ac74cb8c1d /helpers/lh_chroot_packageslists
parent3cd834e69cf4fdc710d9b28565b201d1db4344af (diff)
downloadvyos-live-build-ffa20df08243c6d19a47ef182a0fa7438f60f800.tar.gz
vyos-live-build-ffa20df08243c6d19a47ef182a0fa7438f60f800.zip
Tidy calls to new Expand_packagelist
Diffstat (limited to 'helpers/lh_chroot_packageslists')
-rwxr-xr-xhelpers/lh_chroot_packageslists14
1 files changed, 3 insertions, 11 deletions
diff --git a/helpers/lh_chroot_packageslists b/helpers/lh_chroot_packageslists
index 05d742d74..956955004 100755
--- a/helpers/lh_chroot_packageslists
+++ b/helpers/lh_chroot_packageslists
@@ -47,17 +47,9 @@ then
for LIST in ${LH_PACKAGES_LISTS}
do
- if [ -f ${LH_BASE:-/usr/share/live-helper}/lists/"${LIST}" ]
- then
- # Generating package list
- Expand_packagelist \
- "${LIST}" \
- "config/chroot_local-packageslists" \
- "${LH_BASE:-/usr/share/live-helper}/lists" \
- >> chroot/root/chroot_packages
- else
- Echo_warning "skipping installation of unknown packages list '${LIST}'."
- fi
+ # Generating package list
+ Expand_packagelist "${LIST}" "config/chroot_local-packageslists" \
+ >> chroot/root/chroot_packages
done
# Creating stage file