[pbuilder] 01/01: checkparams: add a --profile option to specify build profiles to build with
Mattia Rizzolo
mattia at debian.org
Fri Nov 18 16:16:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository pbuilder.
commit a55748ff82f19dac2159ab75b954ecb6d78374f6
Author: Mattia Rizzolo <mattia at debian.org>
Date: Fri Nov 18 17:15:47 2016 +0100
checkparams: add a --profile option to specify build profiles to build with
Closes: #844700
---
pbuilder-checkparams | 4 ++++
pbuilder.8 | 7 +++++++
2 files changed, 11 insertions(+)
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 8da1f7d..507d52e 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -191,6 +191,10 @@ while [ -n "$1" ]; do
DEBBUILDOPTS="${2:+${DEBBUILDOPTS:+$DEBBUILDOPTS }$2}";
shift; shift;
;;
+ --profiles)
+ export DEB_BUILD_PROFILES="${2//,/ }"
+ shift 2
+ ;;
--logfile)
log.i "Logging to $2"
exec > >(tee "$2") 2>&1
diff --git a/pbuilder.8 b/pbuilder.8
index 8a540dd..dd4a95f 100644
--- a/pbuilder.8
+++ b/pbuilder.8
@@ -446,6 +446,13 @@ Multiple options are delimited with spaces,
like \-\-debbuildopts "\-j100 \-E"
.TP
+.BI "\-\-profiles [" "profile1[,profile2]" "]"
+Comma-separated list of build profiles to use during the build. It overrides
+a possible
+.I DEB_BUILD_PROFILES
+environment variable already defined.
+
+.TP
.BI "\-\-logfile [" "file to log" "]"
Specifies the logfile to create.
The messages generated during execution will be written to the specified file,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git
More information about the Pbuilder-maint
mailing list