aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
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-buildpackage-funcs
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-buildpackage-funcs')
-rw-r--r--pbuilder-buildpackage-funcs4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index 39f1e71..0c19dc7 100644
--- a/pbuilder-buildpackage-funcs
+++ b/pbuilder-buildpackage-funcs
@@ -37,7 +37,7 @@ function checkbuilddep () {
yes) BUILDOPT="--binary-arch";;
*) ;;
esac
- if "$PBUILDERSATISFYDEPENDSCMD" --control "$1" --chroot "${BUILDPLACE}" --internal-chrootexec "${CHROOTEXEC}" "${BUILDOPT}" ; then
+ if "$PBUILDERSATISFYDEPENDSCMD" --control "$1" --chroot "${BUILDPLACE}" --internal-chrootexec "${CHROOTEXEC}" "${BUILDOPT}" "${PBUILDERSATISFYDEPENDSOPT[@]}"; then
:
else
# If asked to preserve the build place, and pbuilder-satisfydepends
@@ -50,7 +50,7 @@ function checkbuilddep () {
fi
# install extra packages to the chroot
if [ -n "$EXTRAPACKAGES" ]; then
- $CHROOTEXEC usr/bin/apt-get -q -y --force-yes install ${EXTRAPACKAGES}
+ $CHROOTEXEC usr/bin/apt-get -q -y "${APTGETOPT[@]}" install ${EXTRAPACKAGES}
fi
}