diff options
author | Junichi Uekawa <dancer@netfort.gr.jp> | 2010-07-05 22:18:05 +0900 |
---|---|---|
committer | Junichi Uekawa <dancer@netfort.gr.jp> | 2010-07-05 22:18:05 +0900 |
commit | d5e06cb5cae17d5f8b6ce1954e35443b2c7a7df3 (patch) | |
tree | 26c07d628f60b2872ad7c18a68880c130388523e /pbuilder-satisfydepends-aptitude | |
parent | 68c7f72fd56e20ddb6a2e83bdd355c46af9620ea (diff) | |
download | pbuilder-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-satisfydepends-aptitude')
-rwxr-xr-x | pbuilder-satisfydepends-aptitude | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-satisfydepends-aptitude b/pbuilder-satisfydepends-aptitude index 9ddabee..43d8693 100755 --- a/pbuilder-satisfydepends-aptitude +++ b/pbuilder-satisfydepends-aptitude @@ -89,7 +89,7 @@ EOF $CHROOTEXEC sh -c "cat \"$BUILD_DEP_DEB_CONTROL\"" $CHROOTEXEC sh -c "dpkg-deb -b \"$BUILD_DEP_DEB_DIR/pbuilder-satisfydepends-dummy\"" $CHROOTEXEC dpkg -i "$BUILD_DEP_DEB_DIR/pbuilder-satisfydepends-dummy.deb" || true - $CHROOTEXEC aptitude -y --without-recommends -o APT::Install-Recommends=false -o Aptitude::CmdLine::Ignore-Trust-Violations=true -o Aptitude::ProblemResolver::StepScore=100 install pbuilder-satisfydepends-dummy + $CHROOTEXEC aptitude -y --without-recommends -o APT::Install-Recommends=false "${PBUILDER_APTITUDE_CHECK_OPTS[$@]}" -o Aptitude::ProblemResolver::StepScore=100 install pbuilder-satisfydepends-dummy # check whether the aptitude's resolver kept the package if ! $CHROOTEXEC dpkg -l pbuilder-satisfydepends-dummy 2>/dev/null | grep -q ^ii; then echo "Aptitude couldn't satisfy the build dependencies" |