From 23bf55a73c75f21dd8964a8b969be3049d4e7358 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 18 Jul 2012 17:45:52 +0200 Subject: Applying patch from Steven Shiau to conditionally copy /etc/apt/secring.gpg* files. --- scripts/build/lb_chroot_archives | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3