diff options
author | Steven Shiau <steven@nchc.org.tw> | 2010-03-07 13:21:27 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2010-03-12 16:08:14 +0100 |
commit | f2e2d47c683343bacc606bb371a9759c062a5321 (patch) | |
tree | 5bdac11eb136a7af752123ac6d500605c1de6587 /helpers | |
parent | 519e3c19364a9ad66ac68660954f2a174cdbc175 (diff) | |
download | vyos-live-build-f2e2d47c683343bacc606bb371a9759c062a5321.tar.gz vyos-live-build-f2e2d47c683343bacc606bb371a9759c062a5321.zip |
Fixing build failure with indices caching.
Diffstat (limited to 'helpers')
-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 |