aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
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 /pbuilder-buildpackage-funcs
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> +
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r--pbuilder-buildpackage-funcs5
1 files changed, 5 insertions, 0 deletions
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