aboutsummaryrefslogtreecommitdiff
path: root/pdebuild
diff options
context:
space:
mode:
authordancer <dancer>2005-04-16 04:39:37 +0000
committerdancer <dancer>2005-04-16 04:39:37 +0000
commit0c9b1945481d328340b962439c7fbaccab984c3a (patch)
tree813b3f62574a60337a81100f70e6682b55a0a8ce /pdebuild
parent6dd6f97b587dd8302962bf320b44e365f27aa4e7 (diff)
downloadpbuilder-0c9b1945481d328340b962439c7fbaccab984c3a.tar
pbuilder-0c9b1945481d328340b962439c7fbaccab984c3a.tar.gz
--- ChangeLog 11 Apr 2005 06:24:29 -0000 1.293
+++ ChangeLog 16 Apr 2005 04:39:27 -0000 @@ -1,3 +1,20 @@ +2005-04-16 Junichi Uekawa <dancer@debian.org> + + * pbuilder-modules: document signing-related options in pbuilder-options. + + * pdebuild-user-mode-linux: + * pdebuild: implement keyid specification. + + * Documentation/pbuilder-doc.xml: add document on using auto-debsign + and add a FAQ entry for source.changes file. + + * pbuilder-checkparams: use --debsign-k option + to specify DEBSIGN_KEYID + + * pdebuild.1: add --debsign-k option + + * pdebuild-user-mode-linux.1: add --debsign-k option +
Diffstat (limited to 'pdebuild')
-rw-r--r--pdebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/pdebuild b/pdebuild
index 45725b6..0b1a1ec 100644
--- a/pdebuild
+++ b/pdebuild
@@ -46,6 +46,13 @@ else
${PBUILDERROOTCMD} pbuilder build "$@" ${EXTRA_CONFIGFILE[@]/#/--configfile } --buildresult "${BUILDRESULT}" --debbuildopts "${DEBBUILDOPTS}" ../"${PKG_SOURCENAME}_${PKG_VERSION}".dsc
fi
+# do signing with optional key specifier
if [ "${AUTO_DEBSIGN}" = "yes" ]; then
- debsign "${BUILDRESULT}/${PKG_SOURCENAME}_${PKG_VERSION}_${ARCHITECTURE}.changes"
+ unset DEBSIGN_PARAM || true
+ if [ -n "${DEBSIGN_KEYID}" ]; then
+ DEBSIGN_PARAM[1]="-k${DEBSIGN_KEYID}"
+ fi
+ DEBSIGN_PARAM[2]="${BUILDRESULT}/${PKG_SOURCENAME}_${PKG_VERSION}_${ARCHITECTURE}.changes"
+ debsign "${DEBSIGN_PARAM[@]}"
+
fi