Codebase list rust-serde-xml-rs / 1e19746
build.sh: SBUILD_OPTS for passing extra options like "--arch=" to sbuild Michael R. Crusoe 2 years ago
2 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
8484
8585 An explanation of this, plus more recipes, can be found on the `sbuild wiki
8686 page <https://wiki.debian.org/sbuild>`_.
87
88 If you need to pass additional options to sbuild, like "--arch=i386", then set
89 the SBUILD_OPTS environment variable.
8790
8891 Normally, ``./build.sh`` will fail early if not all the build dependencies are
8992 available in your local apt cache. If you are packaging a large dependency tree
1313 # Release to something other than unstable, e.g. experimental
1414 # CHROOT=$chroot
1515 # Build using another schroot than debcargo-unstable-amd64-sbuild
16 # SBUILD_OPTS=
17 # will pass to sbuild; for example SBUILD_OPTS=--arch=i386
1618 set -e
1719
1820 SCRIPTDIR="$(dirname $(readlink -f "$0"))"
153155 "${EXTRA_DEBS_AUTOPKGTEST_OPTS[@]}" \
154156 "${AUTOPKGTEST_OPTS[@]}" \
155157 "${LINTIAN_OPTS[@]}" \
158 ${SBUILD_OPTS} \
156159 "$SRCNAME.dsc"
157160 if [ "$SKIP_AUTOPKGTEST" != 1 ]; then
158161 report "analyzing autopkgtest log: $BUILDNAME.test.log"