diff options
-rwxr-xr-x | scripts/build/lb_chroot_archives | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/build/lb_chroot_archives b/scripts/build/lb_chroot_archives index fb4a9e8ee..168b3afe7 100755 --- a/scripts/build/lb_chroot_archives +++ b/scripts/build/lb_chroot_archives @@ -538,7 +538,11 @@ EOF then mkdir -p cache/indices.bootstrap - cp -f chroot/etc/apt/secring.gpg* cache/indices.bootstrap + if Find_files chroot/etc/apt/secring.gpg* + then + cp -f chroot/etc/apt/secring.gpg* cache/indices.bootstrap + fi + cp -rf chroot/etc/apt/trusted.gpg* cache/indices.bootstrap cp -f chroot/var/cache/apt/pkgcache.bin cache/indices.bootstrap |