summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-01-19 12:49:56 +0100
committerDaniel Baumann <daniel@debian.org>2013-01-19 12:49:56 +0100
commit5553c0d992998ac7127f2ad1f9d5cf2df8e5d2c7 (patch)
tree640342f1b32a8ace822ac1d75c763ff2dce0d2a5
parentc1ea3c7fb43b0537be72b349c22de1fe9204f6ae (diff)
downloadvyos-live-build-5553c0d992998ac7127f2ad1f9d5cf2df8e5d2c7.tar.gz
vyos-live-build-5553c0d992998ac7127f2ad1f9d5cf2df8e5d2c7.zip
Correcting apt-key cleanup of local dummy signing keys when using local packages, thanks to jhcha54008 <jhcha54008@free.fr>.
-rwxr-xr-xscripts/build/chroot_archives4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives
index e53da07d0..e8c375b09 100755
--- a/scripts/build/chroot_archives
+++ b/scripts/build/chroot_archives
@@ -889,9 +889,9 @@ EOF
rm -rf chroot/root/packages
# Remove local packages key if it exists
- if apt-key list | grep -q ${_LB_LOCAL_KEY_EMAIL}
+ if Chroot chroot apt-key list | grep -q ${_LB_LOCAL_KEY_EMAIL}
then
- apt-key del ${_LB_LOCAL_KEY_EMAIL}
+ Chroot chroot apt-key del ${_LB_LOCAL_KEY_EMAIL}
fi
# Removing stage file