poky/meta/classes-global
Joshua Watt 3cabb0e170 lib/package: Check incompatible licenses at packaging time
Instead of checking for incompatible licenses in the anonymous python
and setting '_exclude_incompatible-', (re)check all the packages in
populate_packages(). This ensures that all packages are processed, even
dynamically generated ones.

The use of the '_exclude-incompatible-' variable set in base.bbclass has
been the mechanism used for per-packages licenses since it was added as
a feature (although with different names for the variable throughout
history). However, since this misses dynamic packages, calling
oe.license.skip_incompatible_package_licenses() a second time on the
actual final package set is a better solution.

(From OE-Core rev: 1816c5a5e724a7f907c9afe4a47b6699ea081ace)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-25 15:37:10 +01:00
..
base.bbclass lib/package: Check incompatible licenses at packaging time 2024-10-25 15:37:10 +01:00
buildstats.bbclass classes: Update classes to match new bitbake class scope functionality 2022-08-12 15:27:17 +01:00
debian.bbclass package/package_write: Improve packagedata code location 2023-11-08 10:56:35 +00:00
devshell.bbclass devshell: Do not add scripts/git-intercept to PATH 2023-02-10 09:25:44 +00:00
insane.bbclass insane: Ensure package_qa tasks run in builds when expected 2024-10-24 15:18:54 +01:00
license.bbclass classes-global/license: Move functions to library code 2024-10-25 15:37:10 +01:00
logging.bbclass classes: Update classes to match new bitbake class scope functionality 2022-08-12 15:27:17 +01:00
mirrors.bbclass binutils-cross-testsuite: Rename to binutils-testsuite 2024-06-27 13:03:34 +01:00
package_deb.bbclass package/package_write: Improve packagedata code location 2023-11-08 10:56:35 +00:00
package_ipk.bbclass ipk: Switch to using zstd compression 2023-12-23 08:46:00 +00:00
package_pkgdata.bbclass classes: Update classes to match new bitbake class scope functionality 2022-08-12 15:27:17 +01:00
package_rpm.bbclass package_rpm: Check if file exists before open() 2024-10-11 12:17:03 +01:00
package.bbclass lib/package: Check incompatible licenses at packaging time 2024-10-25 15:37:10 +01:00
packagedata.bbclass classes: Update classes to match new bitbake class scope functionality 2022-08-12 15:27:17 +01:00
patch.bbclass patch.bbclass: Make use of oe.patch.GitApplyTree.commitIgnored() 2024-02-19 16:03:22 +00:00
retain.bbclass classes: add new retain class for retaining build results 2024-08-03 07:56:10 +01:00
sanity.bbclass sanity.bbclass: skip check_userns for non-local uid 2024-10-22 12:28:18 +01:00
sstate.bbclass sstate: Make do_recipe_qa and do_populate_lic non-arch specific 2024-09-05 21:48:47 +01:00
staging.bbclass classes-global/staging: Exclude do_create_spdx from automatic sysroot extension 2024-07-13 23:28:31 +01:00
uninative.bbclass uninative: Add pthread linking workaround 2024-03-19 15:25:12 +00:00
utility-tasks.bbclass classes: Update classes to match new bitbake class scope functionality 2022-08-12 15:27:17 +01:00
utils.bbclass utils.bbclass: Use objdump instead of readelf to compute SONAME 2024-07-01 13:56:02 +01:00