Commit 321c0b34 authored by Markus Frosch's avatar Markus Frosch

deb: Allow full binary build with other main architectures

ICINGA_BUILD_DEB_DEFAULT_ARCH
parent 3d069954
Pipeline #3240 passed with stage
in 14 seconds
......@@ -80,6 +80,7 @@ require_var() {
: "${ICINGA_BUILD_TYPE:="release"}"
: "${ICINGA_BUILD_UPSTREAM_BRANCH:="master"}"
: "${ICINGA_BUILD_DEB_FLAVOR:="$ICINGA_BUILD_DIST"}"
: "${ICINGA_BUILD_DEB_DEFAULT_ARCH:="amd64"}"
: "${ICINGA_BUILD_IGNORE_LINT:=1}"
: "${ICINGA_BUILD_BRANDING_TAG:=icinga}"
: "${ICINGA_BUILD_BRANDING_VENDOR:=Icinga.com}"
......
......@@ -59,7 +59,7 @@ echo "[ Installing build dependencies ]"
# Building the package
binopts=
if [ "${ICINGA_BUILD_ARCH}" != "amd64" ]; then
if [ "${ICINGA_BUILD_ARCH}" != "${ICINGA_BUILD_DEB_DEFAULT_ARCH}" ]; then
binopts="-B"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment