CI: check mesa-dri-gallium dependency for devices (MR 3478)

Devices should not depend on it anymore to allow a more minimal install.
postmarketos-base will pull it in if mesa is installed.

[ci:ignore-count]
This commit is contained in:
Oliver Smith 2022-10-07 08:37:12 +02:00 committed by Bart Ribbers
parent 270e5e28ad
commit 03ceddb284
No known key found for this signature in database
GPG key ID: 0BF4C1B5988C50D8

View file

@ -25,6 +25,9 @@ def device_dependency_check(apkbuild, path):
" depends of " + path + ". These go into"
" subpackages now, see"
" <https://postmarketos.org/devicepkg>.")
if depend == "mesa-dri-gallium":
raise RuntimeError(f"{path}: mesa-dri-gallium shouldn't be in"
" depends anymore (see pmaports!3478)")
def test_aports_device(args):