gitlab-ci: crossbuild on backports

This commit is contained in:
Antoine Martin 2023-05-07 22:47:54 -04:00
parent 0f10c7b666
commit 4660ce6f93
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -94,7 +94,7 @@ check_aport() {
cd "$APORTSDIR/$repo/$aport"
export CHOST=$CI_ALPINE_TARGET_ARCH
# TODO: this enables crossbuild only on user, this should be cleaner
if [ "$repo" != "user" ] && [ "$CI_ALPINE_TARGET_ARCH" != "$ARCH" ]; then
if [ "$repo" != "user" ] && [ "$repo" != "backports" ] && [ "$CI_ALPINE_TARGET_ARCH" != "$ARCH" ]; then
aport_na="$aport_na $repo/$aport"
return 1
fi