diff options
-rw-r--r-- | ChangeLog | 12 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | pbuilder-buildpackage-funcs | 5 | ||||
-rwxr-xr-x | pbuilder-checkparams | 6 | ||||
-rw-r--r-- | pbuilder-modules | 1 | ||||
-rw-r--r-- | pbuilder.8 | 9 |
7 files changed, 37 insertions, 1 deletions
@@ -1,5 +1,17 @@ 2002-11-27 Junichi Uekawa <dancer@debian.org> + * pbuilder-buildpackage-funcs: try and implement binary-arch option. + + * pbuilder-checkparams (--binary-arch): set DEBBUILDOPTS. + + * pbuilder.8: document --binary-arch + + * pbuilder-modules (pbuilder-options): add doc of binary-arch + + * pbuilder-checkparams (OVERRIDE_APTLINES): --binary-arch option. + (BINARY_ARCH): set initial value to "no". + thanks: Daniel Schepler <schepler@math.berkeley.edu> + * THANKS: update. * pbuilder-buildpackage-funcs (createbuilduser): do not set HOME here. @@ -18,6 +18,7 @@ Robert Bihlmeyer <robbe@orcus.priv.at> Peter Hawkins <peter@hawkins.emu.id.au> Michael Banck <mbanck@gmx.net>; Clint Adams <schizo@debian.org> +Daniel Schepler <schepler@math.berkeley.edu> I thank them all! diff --git a/debian/changelog b/debian/changelog index 2ceaf41..ab22f0c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,10 @@ pbuilder (0.50) unstable; urgency=low * set HOME to /tmp/buildd (closes: #170762) thanks: Clint Adams <schizo@debian.org> + * add --binary-arch option. (closes: #168149) + thanks: Daniel Schepler <schepler@math.berkeley.edu> - -- Junichi Uekawa <dancer@debian.org> Wed, 27 Nov 2002 11:21:18 +0900 + -- Junichi Uekawa <dancer@debian.org> Wed, 27 Nov 2002 11:43:21 +0900 pbuilder (0.49) unstable; urgency=low diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs index ea9802e..8aef30d 100644 --- a/pbuilder-buildpackage-funcs +++ b/pbuilder-buildpackage-funcs @@ -31,6 +31,11 @@ function copydsc () { } function checkbuilddep () { + local BUILDOPT="--binary-all" + case "${BINARY_ARCH}" in + yes) BUILDOPT="--binary-arch";; + *) ;; + esac if ! /usr/lib/pbuilder/pbuilder-satisfydepends --control "$BUILDPLACE/"tmp/buildd/*/debian/control --chroot "$BUILDPLACE" --binary-all ; then echo "E: pbuilder-satisfydepends failed." >&2 exit 1 diff --git a/pbuilder-checkparams b/pbuilder-checkparams index b77879d..b6580be 100755 --- a/pbuilder-checkparams +++ b/pbuilder-checkparams @@ -24,6 +24,7 @@ INTERNAL_BUILD_UML="" CHROOTEXEC="" OVERRIDE_APTLINES="no" +BINARY_ARCH="no" while [ -n "$1" ]; do case "$1" in @@ -123,6 +124,11 @@ while [ -n "$1" ]; do OVERRIDE_APTLINES="yes" shift; ;; + --binary-arch) + BINARY_ARCH="yes" + DEBBUILDOPTS="${DEBBUILDOPTS} -B" + shift; + ;; --) # this is an empty option, to no longer process. shift; break; diff --git a/pbuilder-modules b/pbuilder-modules index 5f61e94..2df5a18 100644 --- a/pbuilder-modules +++ b/pbuilder-modules @@ -61,6 +61,7 @@ pbuilder-options: --aptconfdir [overriding apt config dir] --timeout [timeout time] --override-config + --binary-arch pdebuild-specific pbuilder-options --pbuilderroot [command to obtain root privilege for pbuilder] @@ -302,6 +302,15 @@ Specify this when you want to do pbuilder update with a different distribution target set up. +.TP +.BI "--binary-arch" + +Specify to build architecture specific targets instead of all targets. +Setting +.B "--debbuildopts" +after this option will re-set some parts of the effect. + + .SH "FILES" .TP .I "/etc/pbuilderrc" |