Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate options in regards to dealing with bitbake patch files #18

Open
Jasper-Ben opened this issue Dec 12, 2023 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@Jasper-Ben
Copy link
Member

Currently, meta-osselot does not have a mechanism in place for dealing with patch files in bitbake layers

Jasper-Ben added a commit that referenced this issue Dec 19, 2023
@Jasper-Ben Jasper-Ben self-assigned this Jan 22, 2024
@Jasper-Ben
Copy link
Member Author

Currently, we have two mechanisms in place that help dealing with source code differences between osselot curated data and openembedded source code (including patches):

  1. OSSELOT_IGNORE_SOURCE_GLOBS variable: This variable can be used to ignore any file (globs) which are irrelevant in regards to openembbeded license compliance. This could be test files or pre-run configure steps from release packages (see Source code differences between github "archive" and "releases" Open-Source-Compliance/package-analysis#67).
  2. OSSELOT_HASH_EQUIVALENCE variable: This variable can be used to define equivalence (from a curation perspective) between one or more file versions. As openembedded patches usually do not add copyright holders or other license information (do validate this beforehand), this variable can be used to signal curation equivalence in these cases.

However, these two mechanisms currently do not cover cases where patches add additional, or change curation relevant data. I am yet to encounter a relevant case, but if this happens we need to deal with this. One option could be to add patches to the osselot-package-analysis-native.bb recipe, however I am not sure how well this would scale.

@Jasper-Ben Jasper-Ben added the enhancement New feature or request label Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant