summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorSteven Shiau <steven@nchc.org.tw>2010-03-07 13:21:27 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:05 +0100
commite0c48ed338f52632b2a2842a4c598162d5058467 (patch)
tree5bdac11eb136a7af752123ac6d500605c1de6587 /helpers
parentebdf7c9560867209214e2f22c95e7a2deac5fc6e (diff)
downloadlive-build-e0c48ed338f52632b2a2842a4c598162d5058467.zip
live-build-e0c48ed338f52632b2a2842a4c598162d5058467.tar.gz
Fixing build failure with indices caching.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/chroot_sources4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/chroot_sources b/helpers/chroot_sources
index cb046d9..87db111 100755
--- a/helpers/chroot_sources
+++ b/helpers/chroot_sources
@@ -254,7 +254,7 @@ case "${1}" in
if Find_files cache/indices_bootstrap/trusted.gpg*
then
- cp -f cache/indices_bootstrap/trusted.gpg* chroot/etc/apt
+ cp -rf cache/indices_bootstrap/trusted.gpg* chroot/etc/apt
fi
if [ -f cache/indices_bootstrap/pkgcache.bin ]
@@ -332,7 +332,7 @@ case "${1}" in
mkdir -p cache/indices_bootstrap
cp -f chroot/etc/apt/secring.gpg* cache/indices_bootstrap
- cp -f chroot/etc/apt/trusted.gpg* cache/indices_bootstrap
+ cp -rf chroot/etc/apt/trusted.gpg* cache/indices_bootstrap
cp -f chroot/var/cache/apt/pkgcache.bin cache/indices_bootstrap