summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_archives
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:50:03 +0100
commit9ec95b51a7ddcf02df94e7d81c488df9b7674398 (patch)
tree0eee6ac368cb21103d9638185002ffa1fcb7e27d /scripts/build/chroot_archives
parent357c2e0399f50868b628f734be1ae2dd26644050 (diff)
downloadvyos-live-build-9ec95b51a7ddcf02df94e7d81c488df9b7674398.tar.gz
vyos-live-build-9ec95b51a7ddcf02df94e7d81c488df9b7674398.zip
Correcting apt-key cleanup of local dummy signing keys when using local packages, thanks to jhcha54008 <jhcha54008@free.fr>.
Diffstat (limited to 'scripts/build/chroot_archives')
-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 5b5a90720..2e02c5448 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