Skip to content

classes: Remove image-license-checker and deploy-license-manifest - #166

Merged
otavio merged 2 commits into
OSSystemsEmbeddedLinux:masterfrom
lucianogdittgen:remove/unused-license-classes
Nov 16, 2026
Merged

otavio merged 2 commits into
OSSystemsEmbeddedLinux:masterfrom
lucianogdittgen:remove/unused-license-classes

Conversation

@lucianogdittgen

@lucianogdittgen lucianogdittgen commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Nothing in the layer, or in the OEL platform, inherits either class, and OE-Core now covers what they did:

  • image-license-checker: INCOMPATIBLE_LICENSE (with INCOMPATIBLE_LICENSE_EXCEPTIONS) keeps licences out of an image, and the SPDX 3 documents from create-spdx record the licence of every package and deployed artefact.
  • deploy-license-manifest: license.manifest stays in ${LICENSE_DIRECTORY}/${IMAGE_NAME}, and the per-image SPDX 3 document carries the same data in machine-readable form, so the CSV copy is redundant.

One commit per class, so either can be reverted on its own. Out-of-tree users, if any, need to switch to the OE-Core mechanisms above.

ossystems-onsite-only-recipe-handler is kept, as requested in review: customers use it for binary or IP-restricted recipes.

Tested (qemuarm, oel): bitbake -p reports 0 errors and needed no recipe reparse, which confirms nothing depended on them; bitbake -n core-image-minimal passes.

Nothing inherits it. OE-Core covers the use case: INCOMPATIBLE_LICENSE
(with INCOMPATIBLE_LICENSE_EXCEPTIONS) keeps licences out of an image,
and the SPDX 3 documents from create-spdx record which licence each
package in the image, and each deployed artefact, is under, which is
the data a stricter audit should be based on.

Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
Nothing inherits it. The image license.manifest stays available in
${LICENSE_DIRECTORY}/${IMAGE_NAME}, and create-spdx deploys a SPDX 3
document per image next to the image itself, which carries the same
package/licence data in a machine-readable form, so the CSV variant
has no remaining purpose.

Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
@lucianogdittgen
lucianogdittgen force-pushed the remove/unused-license-classes branch from e2dee7d to 6150b5b Compare November 16, 2026 13:31
@lucianogdittgen lucianogdittgen changed the title classes: Remove image-license-checker, deploy-license-manifest and ossystems-onsite-only-recipe-handler classes: Remove image-license-checker and deploy-license-manifest Nov 16, 2026
@otavio
otavio merged commit 4abd830 into OSSystemsEmbeddedLinux:master Nov 16, 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