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 <mail@daniel-baumann.ch>2013-05-06 14:50:04 +0200
commit07ffebc750d370e2860433a2f1fd624149b7fe04 (patch)
tree640342f1b32a8ace822ac1d75c763ff2dce0d2a5 /scripts/build/chroot_archives
parent6d3b6b7b9bb6f6b56774f1368ecfa03953c74332 (diff)
downloadvyos-live-build-07ffebc750d370e2860433a2f1fd624149b7fe04.tar.gz
vyos-live-build-07ffebc750d370e2860433a2f1fd624149b7fe04.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 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