aboutsummaryrefslogtreecommitdiff
path: root/pbuilderrc
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2010-06-24 19:40:41 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2010-06-24 19:40:41 +0900
commit2e574b397d372e1871b9d0c72b1e32ff6fdc6ba6 (patch)
treee8859a7f29c57daa7852370b7f851262158fa0de /pbuilderrc
parent21d0a6a3c11f29e00759ece8f2caf6e688205e04 (diff)
downloadpbuilder-2e574b397d372e1871b9d0c72b1e32ff6fdc6ba6.tar
pbuilder-2e574b397d372e1871b9d0c72b1e32ff6fdc6ba6.tar.gz
add --keyring option as default parameter to DEBOOTSTRAPOPTS (closes: 579028)
This is first step into allowing 'trusted packages only' mode in pbuilder. This only enables signature checking for debootstrap when creating Debian chroot. Further changes are required if you want to check for signature in apt / aptitude invocations.
Diffstat (limited to 'pbuilderrc')
-rw-r--r--pbuilderrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/pbuilderrc b/pbuilderrc
index cb00f5e..d05a3ff 100644
--- a/pbuilderrc
+++ b/pbuilderrc
@@ -69,7 +69,10 @@ BUILDUSERNAME=pbuilder
BINDMOUNTS=""
# Set the debootstrap variant to 'buildd' type.
-DEBOOTSTRAPOPTS[0]='--variant=buildd'
+DEBOOTSTRAPOPTS=(
+ '--variant=buildd'
+ '--keyring' '/usr/share/keyrings/debian-archive-keyring.gpg'
+ )
# or unset it to make it not a buildd type.
# unset DEBOOTSTRAPOPTS