aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordancer <dancer>2002-11-27 03:29:44 +0000
committerdancer <dancer>2002-11-27 03:29:44 +0000
commit2600755b140c7adf3547c1a16ff75801cdbcbe46 (patch)
treeabb4b051be978398f1f45cfc955b0395372d2271
parent9cb4cfabfb2e516038e7cc3595fb51bf3d451825 (diff)
downloadpbuilder-2600755b140c7adf3547c1a16ff75801cdbcbe46.tar
pbuilder-2600755b140c7adf3547c1a16ff75801cdbcbe46.tar.gz
+ * 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> +
-rw-r--r--ChangeLog12
-rw-r--r--THANKS1
-rw-r--r--debian/changelog4
-rw-r--r--pbuilder-buildpackage-funcs5
-rwxr-xr-xpbuilder-checkparams6
-rw-r--r--pbuilder-modules1
-rw-r--r--pbuilder.89
7 files changed, 37 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f5e438e..d251904 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/THANKS b/THANKS
index f3dec85..0be0f41 100644
--- a/THANKS
+++ b/THANKS
@@ -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]
diff --git a/pbuilder.8 b/pbuilder.8
index 4a56339..ac18c6d 100644
--- a/pbuilder.8
+++ b/pbuilder.8
@@ -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"