CI: disallow firmware packages to be noarch (MR 3607)

As explained in the previous commit, it's just unnecessary.

[ci:ignore-count]
[ci:skip-vercheck] no need to rebuild for arch change
This commit is contained in:
Luca Weiss 2022-11-01 17:32:11 +01:00 committed by Dylan Van Assche
parent 44f1e77115
commit 5c78e255a6
No known key found for this signature in database
GPG key ID: 8642571587897EA1

View file

@ -41,3 +41,8 @@ def test_aports_firmware(args):
raise RuntimeError(f"{aport_name}: \"!tracedeps\" missing in"
" options= line. The tracedeps option is superfluous"
" for firmware packages.")
if "noarch" in apkbuild["arch"]:
raise RuntimeError(f"{aport_name}: \"arch\" must not be \"noarch\"!"
" Please limit this firmware package to the"
" required architectures only!")