aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authorLuca Falavigna <dktrkranz@debian.org>2012-11-27 16:58:53 +0100
committerMattia Rizzolo <mattia@mapreri.org>2015-11-15 14:03:29 +0000
commitef9fd1fa8e4cb6e15a8857b47926236b06d87dd6 (patch)
tree757af7e3a41d83717f229dc1b37bf6ba93431faf /pbuilder-checkparams
parent80fd45b30a52bba481f928bf912bdbe0acc19558 (diff)
downloadpbuilder-ef9fd1fa8e4cb6e15a8857b47926236b06d87dd6.tar
pbuilder-ef9fd1fa8e4cb6e15a8857b47926236b06d87dd6.tar.gz
add binNMU support
Closes: #683848
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams17
1 files changed, 17 insertions, 0 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index f711665..688da07 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -33,6 +33,7 @@ CHROOTEXEC=""
OVERRIDE_APTLINES="no"
OVERRIDE_APTLINES_WARN="" # set this if --override-config option should be set.
BINARY_ARCH="no"
+BIN_NMU="no"
PBUILDER_BUILD_LOGFILE=
PRESERVE_BUILDPLACE="no"
unset EXTRA_CONFIGFILE || true
@@ -199,6 +200,22 @@ while [ -n "$1" ]; do
DEBBUILDOPTS="${DEBBUILDOPTS} -B"
shift;
;;
+ --bin-nmu)
+ BIN_NMU="yes"
+ BINARY_ARCH="yes"
+ # XXX this might be overwriten by --debbuildopts ""
+ DEBBUILDOPTS="${DEBBUILDOPTS} -B"
+ BINNMU_MESSAGE="$2"
+ shift; shift;
+ ;;
+ --bin-nmu-maintainer)
+ BINNMU_MAINTAINER="$2"
+ shift; shift;
+ ;;
+ --bin-nmu-version)
+ BINNMU_VERSION="$2"
+ shift; shift;
+ ;;
--preserve-buildplace)
PRESERVE_BUILDPLACE="yes"
shift;