From d5e06cb5cae17d5f8b6ce1954e35443b2c7a7df3 Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Mon, 5 Jul 2010 22:18:05 +0900 Subject: 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. --- pdebuild-internal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pdebuild-internal') 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 .. -- cgit v1.2.3