Fixing a chicken-egg problem with package indices when using minimal/stripped list *and* including local-packages.

This commit is contained in:
Daniel Baumann 2008-09-03 21:56:56 +02:00
parent f9b891c9d6
commit 3c48eb2a5a
1 changed files with 9 additions and 0 deletions

View File

@ -103,6 +103,15 @@ case "${1}" in
if Find_files chroot/root/local-packages/*.deb
then
# If we bootstrapped a minimal chroot, we need
# to install apt-utils before we have have
# completed all the indices.
case "${LH_PACKAGES_LISTS}" in
stripped|minimal)
Chroot "apt-get update"
;;
esac
# Restoring cache
Restore_cache cache/packages_chroot