[meta-rockchip][PATCH v2 0/3] rkbin: convert LICENSE to SPDX expressions
| Newsgroups | org.yoctoproject.lists.yocto-patches |
|---|---|
| Message-ID | <[email protected]> |
From: Martin Herren <[email protected]> Hej, This series fixes the legacy/CLOSED LICENSE warnings coming from the rkbin recipes by OE-Core commit e9d424738d6f ("classes/conf/lib: Parse LICENSE as SPDX Expression"): https://git.openembedded.org/openembedded-core/commit/?id=e9d424738d6f8411d4e745b7d872a00e10bb14ac Patches 1 and 2 switch the rkbin family (rockchip-rkbin.inc, used by -ddr, -optee-os and -tf-a) and its native variant from "Proprietary" to a recipe-specific LicenseRef-Rockchip-rkbin backed by NO_GENERIC_LICENSE, so the SPDX manifest references the real Rockchip LICENSE rather than the generic one-line stub. Patch 3 switches rk3308-rkbin from "CLOSED" to "LicenseRef-rk3308-rkbin-CLOSED" + NO_GENERIC_LICENSE[...]=README. rk3308-rkbin pins an older rkbin revision whose tree ships no LICENSE file, which is why it used CLOSED and only pointed to the README. A potential cleaner fix could be to reuse the current repo's LICENSE. The rk3308-rkbin S RCREV dates back to 2019-10-15 while the initial LICENSE was only added 2023-07-26, which beside a typo and a trailing newline is identical to the one used for the other rkbins (updated 2024-10-17). So that's an almost 4 year gap between the used SRCREV and where the LICENSE was introduced. So this would probably require legal validation from Rockchip's side whether it applies retroactively as well. This option would require adding a static LICENSE file to the recipe. What changed since v1: - Added Reviewed-by tag - Added AI-Generated tag Cheers, Martin Martin Herren (3): bsp: rkbin: use SPDX LicenseRef for Rockchip proprietary firmware bsp: rkbin-native: use SPDX LicenseRef for Rockchip proprietary firmware bsp: rkbin: rk3308-rkbin: replace deprecated CLOSED license with a LicenseRef recipes-bsp/rkbin/rk3308-rkbin_git.bb | 3 ++- recipes-bsp/rkbin/rockchip-rkbin-native_git.bb | 3 ++- recipes-bsp/rkbin/rockchip-rkbin.inc | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-)
signature.asc
(application/pgp-signature, 322 B)
-----BEGIN PGP SIGNATURE----- Version: ProtonMail wqsEARYIAF0Fgmp0/68JEIiu+thqKlAPNRQAAAAAABwAEHNhbHRAbm90YXRp b25zLm9wZW5wZ3Bqcy5vcmdGwiVhPqeIwstFYYl/BOo6FiEEJgeVlthQxcLg gu1biK762GoqUA8AAJp7AQCLHqb0E8V2HtaItOb5bpg+Dett930kDwxZhI9R ziaDOQD/WfKSg+PhGCtNHX5f7cgv3TTvyL+2qP1mik9tPMoSpQ8= =83W6 -----END PGP SIGNATURE-----