diff options
author | Steven Shiau <steven@nchc.org.tw> | 2010-03-07 13:21:27 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:05 +0100 |
commit | e0c48ed338f52632b2a2842a4c598162d5058467 (patch) | |
tree | 5bdac11eb136a7af752123ac6d500605c1de6587 /helpers/chroot_sources | |
parent | ebdf7c9560867209214e2f22c95e7a2deac5fc6e (diff) | |
download | vyos-live-build-e0c48ed338f52632b2a2842a4c598162d5058467.tar.gz vyos-live-build-e0c48ed338f52632b2a2842a4c598162d5058467.zip |
Fixing build failure with indices caching.
Diffstat (limited to 'helpers/chroot_sources')
-rwxr-xr-x | helpers/chroot_sources | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/chroot_sources b/helpers/chroot_sources index cb046d9ea..87db111d9 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 |