aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
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 /pbuilder-updatebuildenv
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 'pbuilder-updatebuildenv')
-rwxr-xr-xpbuilder-updatebuildenv6
1 files changed, 3 insertions, 3 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv
index eafa3e4..cdcc22c 100755
--- a/pbuilder-updatebuildenv
+++ b/pbuilder-updatebuildenv
@@ -64,12 +64,12 @@ fi
recover_aptcache
$TRAP saveaptcache_umountproc_cleanbuildplace_trap exit sighup
-$CHROOTEXEC /usr/bin/apt-get -q -y --force-yes "${FORCE_CONFNEW[@]}" dist-upgrade
+$CHROOTEXEC /usr/bin/apt-get -q -y "${APTGETOPT[@]}" "${FORCE_CONFNEW[@]}" dist-upgrade
# autoremove: Ignore error in case of etch because apt in etch doesn't
# support autoremove. TODO: Do not ignore error when etch is no longer
# supported.
-$CHROOTEXEC /usr/bin/apt-get -q -y --force-yes autoremove || true
-$CHROOTEXEC /usr/bin/apt-get -q -y --force-yes install build-essential dpkg-dev $EXTRAPACKAGES
+$CHROOTEXEC /usr/bin/apt-get -q -y "${APTGETOPT[@]}" autoremove || true
+$CHROOTEXEC /usr/bin/apt-get -q -y "${APTGETOPT[@]}" install build-essential dpkg-dev $EXTRAPACKAGES
save_aptcache
# optionally auto-clean apt-cache