Skip to content

recipes: Write LICENSE as SPDX expressions, drop CLOSED - #135

Merged
otavio merged 6 commits into
OSSystemsEmbeddedLinux:masterfrom
lucianogdittgen:license/spdx-expressions
Nov 11, 2026
Merged

otavio merged 6 commits into
OSSystemsEmbeddedLinux:masterfrom
lucianogdittgen:license/spdx-expressions

Conversation

@lucianogdittgen

@lucianogdittgen lucianogdittgen commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

OE-Core now parses LICENSE as SPDX, warns on the legacy | operator and deprecates LICENSE = "CLOSED".

  • easysplash: write the expression with OR.
  • easysplash-config, weston-touch-calibrator-service: MIT, since they ship files from this layer, which is MIT licensed. LIC_FILES_CHKSUM points at ${COMMON_LICENSE_DIR}/MIT, as OE-Core does for its own local-file recipes, instead of shipping a copy of the license.
  • easysplash-animation-default/-ossystems: Apache-2.0 OR MIT, matching the EasySplash repository they are built from; LICENSE_FLAGS = "commercial" stays for gstreamer1.0-libav.

Depends on #155 (layer-wide oelint.var.licenseremotefile suppression), whose commit this branch carries; merge #155 first or OE Lint fails here. Rebased on master after #152 (telegraf removal), so the telegraf license change is gone.

Tested with contrib/oelint/run-oelint.sh (no findings), bitbake -p (no license warnings) and do_populate_lic on easysplash, easysplash-config and both animations (weston-touch-calibrator-service is skipped in oel: it needs wayland and pam).

Recipes whose only sources are files from this layer have no upstream
license file to checksum. OE-Core points LIC_FILES_CHKSUM at
${COMMON_LICENSE_DIR} for such recipes, but oelint-adv flags any
file:// path built from a variable other than WORKDIR, S or B, and the
rule is unchanged up to 9.11.3. Suppress it for the whole layer so
these recipes can use the common license text instead of shipping
their own copy. Recipes that fetch a source still checksum the license
file it ships.

Tested with contrib/oelint/run-oelint.sh (no findings).

Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
OE-Core now parses LICENSE as SPDX and warns on the legacy '|' operator.
Tested with bitbake -p and easysplash do_populate_lic.

Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
LICENSE = "CLOSED" is deprecated. The recipe ships a config file from
this layer, which is MIT licensed, so checksum the common MIT text
instead of shipping a copy. Tested with do_populate_lic.

Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
LICENSE = "CLOSED" is deprecated. The recipe ships service, udev and
config files from this layer, which is MIT licensed, so checksum the
common MIT text instead of shipping a copy. Set S to UNPACKDIR, as the
recipe has no source tree of its own. Tested with bitbake -p (oel skips
the recipe: it needs wayland and pam).

Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
LICENSE = "CLOSED" is deprecated. The animation is built from the
EasySplash repository, which is dual licensed with no separate terms
for its data. The commercial flag stays for gstreamer1.0-libav.
Tested with do_populate_lic.

Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
LICENSE = "CLOSED" is deprecated. The animation is built from the
EasySplash repository, which is dual licensed with no separate terms
for its data. The commercial flag stays for gstreamer1.0-libav.
Tested with do_populate_lic.

Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
@lucianogdittgen
lucianogdittgen force-pushed the license/spdx-expressions branch from 4df6c20 to 2cf15f4 Compare November 11, 2026 18:28
@otavio
otavio merged commit f7ca09b into OSSystemsEmbeddedLinux:master Nov 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants