Skip to content

license_class: Added support for LICENSE_PRIORITY in manifest creation

Aníbal Limón openembedded-core 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 0 repliesNew
  2. v14 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8license_class: Reimplemented manifest creation in pythonmeta/classes/license.bbclass+90 -710 replies
2/8license_class: Added support for INCOMPATIBLE_LICENSE into license_create_manifestmeta/classes/license.bbclass+41 -190 replies
3/8license_class: Added LICENSE_PRIORITY supportmeta/classes/license.bbclass meta/conf/documentation.conf+42 -60 replies
4/8license_class: Fix remove + trim in license_create_manifest.meta/classes/license.bbclass+2 -20 replies
5/8license_class: license_manifest_creation improvment copying licenses to targetmeta/classes/license.bbclass+4 -50 replies
6/8license_class: license_create_manifest improve package file readmeta/classes/license.bbclass+5 -180 replies
7/8packagegropups: Added LIC_FILES_CHKSUM with MIT license to avoid warning when create license manifest.meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb meta/recipes-core/packagegroups/packagegroup-base.bb meta/recipes-core/packagegroups/packagegroup-core-boot.bb +25 more+28 -00 replies
8/8glibc-locale: Added LIC_FILES_CHKSUM for avoid warnings in license manifest creation.meta/recipes-core/glibc/glibc-collateral.inc+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 0/8] license_class: Added support for LICENSE_PRIORITY in manifest creation

The major change is when you have OR'ed LICENSE only one is choose according LICENSE_PRIORITY preferences if LICENSE_PRIORITY isn't specified the left one is choosen.

Some minor changes was done in the core/packagegroups and glibc-locale recipes adding LIC_FILES_CHECKSUM to avoid warnings in manifest creation.

The test was done building qemux86/core-image-sato with and without these set of patches and then run diff recursive under common-licenses created directory.

You can find a tarball with common-license directories, resulted diff and local.conf at:

https://bugzilla.yoctoproject.org/attachment.cgi?id=2223

Aníbal Limón (8):
license_class: Reimplemented manifest creation in python
license_class: Added support for INCOMPATIBLE_LICENSE into
license_create_manifest
license_class: Added LICENSE_PRIORITY support
license_class: Fix remove + trim in license_create_manifest.
license_class: license_manifest_creation improvment copying licenses
to target
license_class: license_create_manifest improve package file read
packagegropups: Added LIC_FILES_CHKSUM with MIT license to avoid
warning when create license manifest.
glibc-locale: Added LIC_FILES_CHKSUM for avoid warnings in license
manifest creation.

 meta/classes/license.bbclass                       | 236 +++++++++++++--------
 meta/conf/documentation.conf                       |   1 +
 meta/recipes-core/glibc/glibc-collateral.inc       |   2 +
 .../nativesdk-packagegroup-sdk-host.bb             |   1 +
 .../packagegroups/packagegroup-base.bb             |   1 +
 .../packagegroups/packagegroup-core-boot.bb        |   1 +
 .../packagegroup-core-buildessential.bb            |   1 +
 .../packagegroup-core-eclipse-debug.bb             |   1 +
 .../packagegroups/packagegroup-core-nfs.bb         |   1 +
 .../packagegroups/packagegroup-core-sdk.bb         |   1 +
 .../packagegroup-core-ssh-dropbear.bb              |   1 +
 .../packagegroups/packagegroup-core-ssh-openssh.bb |   1 +
 .../packagegroup-core-standalone-sdk-target.bb     |   1 +
 .../packagegroups/packagegroup-core-tools-debug.bb |   1 +
 .../packagegroup-core-tools-profile.bb             |   1 +
 .../packagegroup-core-tools-testapps.bb            |   1 +
 .../packagegroups/packagegroup-cross-canadian.bb   |   1 +
 .../packagegroups/packagegroup-self-hosted.bb      |   1 +
 .../packagegroup-core-device-devel.bb              |   1 +
 .../packagegroup-core-full-cmdline.bb              |   1 +
 .../packagegroups/packagegroup-core-lsb.bb         |   1 +
 .../packagegroups/packagegroup-core-clutter.bb     |   1 +
 .../packagegroups/packagegroup-core-directfb.bb    |   1 +
 .../packagegroups/packagegroup-core-x11-base.bb    |   1 +
 .../packagegroups/packagegroup-core-x11-xserver.bb |   1 +
 .../packagegroups/packagegroup-core-x11.bb         |   1 +
 .../nativesdk-packagegroup-qt-toolchain-host.inc   |   1 +
 .../packagegroups/packagegroup-core-qt.bb          |   1 +
 .../packagegroups/packagegroup-core-qt4e.bb        |   1 +
 .../packagegroup-qt-toolchain-target.inc           |   1 +
 .../packagegroups/packagegroup-core-x11-sato.bb    |   1 +
 31 files changed, 180 insertions(+), 87 deletions(-)
Signature · 1 line
1.9.1