1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-13 03:19:47 +03:00

pmb: Rename pmb:gpu-accel and deviceinfo_gpu_accelerated

pmb:gpu-accel -> pmb:drm
deviceinfo_gpu_accelerated -> deviceinfo_drm

Allow deviceinfo_gpu_accelerated as deprecated property

Keep pmb:gpu-accel as valid option to avoid failures for older branches
of pmaports.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2591
This commit is contained in:
Anri Dellal 2025-04-23 20:43:36 +03:00 committed by Stefan Hansson
parent 496d1b657d
commit d7b12d98e6
No known key found for this signature in database
GPG key ID: ACD854892B38D898
4 changed files with 11 additions and 7 deletions

View file

@ -23,7 +23,7 @@ import pmb.helpers.pmaports
def get_custom_valid_options() -> list[str]:
"""Build a list of custom valid APKBUILD options that apkbuild-lint should
not complain about. The list consists of hardcoded options from
pmb.config.apkbuild_custom_valid_options like pmb:gpu-accel, as well as
pmb.config.apkbuild_custom_valid_options like pmb:drm, as well as
dynamically generated options from kconfigcheck.toml
(pmb:kconfigcheck-libcamera etc.)."""
ret = list(pmb.config.apkbuild_custom_valid_options)