summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_archives
diff options
context:
space:
mode:
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