aboutsummaryrefslogtreecommitdiff
path: root/pdebuild-internal
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2010-07-05 22:18:05 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2010-07-05 22:18:05 +0900
commitd5e06cb5cae17d5f8b6ce1954e35443b2c7a7df3 (patch)
tree26c07d628f60b2872ad7c18a68880c130388523e /pdebuild-internal
parent68c7f72fd56e20ddb6a2e83bdd355c46af9620ea (diff)
downloadpbuilder-d5e06cb5cae17d5f8b6ce1954e35443b2c7a7df3.tar
pbuilder-d5e06cb5cae17d5f8b6ce1954e35443b2c7a7df3.tar.gz
Add an option to verify key signatures. (closes: #579028)
By unsetting APTGETOPT, and setting PBUILDERSATISFYDEPENDSOPT=('--check-key'), the user now has an option of verifying the key signature of each package against the installed keyring.
Diffstat (limited to 'pdebuild-internal')
-rw-r--r--pdebuild-internal4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdebuild-internal b/pdebuild-internal
index 4d07a48..0c4fb99 100644
--- a/pdebuild-internal
+++ b/pdebuild-internal
@@ -30,7 +30,7 @@ set -e
# I am probably running as root; make sure I have pbuilder installed here.
# passwd is needed as well because of useradd and groupadd calls.
-apt-get install -q -y --force-yes pbuilder passwd
+apt-get install -q -y "${APTGETOPT[@]}" pbuilder passwd
# I'm not going to have the same LOGNAME as outside, I'm root.
export LOGNAME=root
@@ -101,7 +101,7 @@ fi
executehooks "D"
export PBCURRENTCOMMANDLINEOPERATION="pdebuild"
"$PBUILDERSATISFYDEPENDSCMD"
-apt-get install -q -y --force-yes fakeroot
+apt-get install -q -y "${APTGETOPT[@]}" fakeroot
# set home directory to ..