DEB build script: fixed parameters for pbuilder/dpkg-buildpackage.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/20/head
Michele Calgaro 5 years ago
parent bc47002a88
commit 3d94bcdbd8
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -128,14 +128,8 @@ if [ -z "$(stat -L --print "%d\n" $APTCACHE/. /var/cache/pbuilder/build/. | uniq
fi
#-- extra options
DEBBUILDOPTS="-B"
if [ "$ARCHITECTURE" == "amd64" ]; then
DEBBUILDOPTS="-b"
fi
if [ "${DISTRIBUTION#raspbian}" != "$DISTRIBUTION" ] && [ "$ARCHITECTURE" == "armhf" ]; then
DEBBUILDOPTS="-b"
DISTRIBUTION=${DISTRIBUTION#raspbian-}
fi
if [ -z "$DEB_SIGN_KEYID" ]; then
AUTO_DEBSIGN=${AUTO_DEBSIGN:-no}
fi

Loading…
Cancel
Save