summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_archives
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-08-16 20:55:47 +0200
committerDaniel Baumann <daniel@debian.org>2011-08-16 20:55:47 +0200
commit78b10b2bd2839c4324b2402076e2dff8fc71e591 (patch)
treea7644da1ec93e74e179aa9c3f8fc5a57e013e3c6 /scripts/build/lb_chroot_archives
parent2af22aa1c40835aa08d888c533914067ab3c94a4 (diff)
downloadvyos-live-build-78b10b2bd2839c4324b2402076e2dff8fc71e591.tar.gz
vyos-live-build-78b10b2bd2839c4324b2402076e2dff8fc71e591.zip
Merging in last bit of lb_chroot_local-packages into lb_chroot_archives (Closes: #635046).
Diffstat (limited to 'scripts/build/lb_chroot_archives')
-rwxr-xr-xscripts/build/lb_chroot_archives6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/lb_chroot_archives b/scripts/build/lb_chroot_archives
index 67af978dc..f91d3f32d 100755
--- a/scripts/build/lb_chroot_archives
+++ b/scripts/build/lb_chroot_archives
@@ -426,6 +426,12 @@ EOF
fi
fi
+ if Find_files chroot/root/packages/*.deb
+ then
+ gunzip < chroot/root/packages/Packages.gz | awk '/^Package: / { print $2 }' \
+ >> chroot/root/chroot_packages
+ fi
+
# Update indices from cache
if [ "${LB_CACHE_INDICES}" = "true" ] && [ -d cache/indices_bootstrap ]
then