summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-07-04 22:29:43 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:36 +0100
commitad5c5bc2c726983992c61f681e2394b38000cb18 (patch)
tree1957a98d5e483abc868cae0edc170579c54143c1
parente4e77a0c91847688b215d7895bd8c64df57a94bf (diff)
downloadvyos-live-build-ad5c5bc2c726983992c61f681e2394b38000cb18.tar.gz
vyos-live-build-ad5c5bc2c726983992c61f681e2394b38000cb18.zip
Fix caching of APT indices (Closes: #478744)
I've tested this the cross-product of LH_APT={apt,aptitude} and LH_APT_SECURE={enabled,disabled} with no problems.
-rwxr-xr-xhelpers/lh_chroot_sources2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources
index 981692b76..42b92eaf6 100755
--- a/helpers/lh_chroot_sources
+++ b/helpers/lh_chroot_sources
@@ -228,7 +228,7 @@ case "${1}" in
cp -f chroot/var/lib/apt/lists/*_Sources cache/indices_bootstrap
fi
- cp -f chroot/var/lib/apt/*_Release* cache/indices_bootstrap
+ cp -f chroot/var/lib/apt/lists/*_Release* cache/indices_bootstrap
fi
fi