Bug 12258

Summary: LICENSE in packagegroup?
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Berger <pokylinux>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: meta.mr.watcher, meta.watcher, ross.burton
Version: 2.4   
Target Milestone: 2.5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
proposed patch none

Description Robert Berger 2017-10-20 13:42:54 UTC
in poky:

$find | grep packagegroup | grep .bb | xargs grep LICENSE

./meta/classes/packagegroup.bbclass:LICENSE ?= "MIT"
./meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb:LICENSE = "MIT"

I am not sure what meaning e.g. in nativesdk-packagegroup-sdk-host.bb the LICENSE field has.

I guess it could be removed.

Also please check the bbclass. Is LICENSE needed there?
Comment 1 Ross Burton 2017-10-20 14:25:23 UTC
All recipes need a license and the default is INVALID so the class sets a default value that is likely good (as packagegroups are just metapackages).

Yes the LICENS in sdk-host can be removed as it is redundant.  Want to send a patch?
Comment 2 Stephen K Jolley 2017-10-26 14:36:31 UTC
Please answer Ross's question.
Comment 3 Robert Berger 2017-10-26 15:31:42 UTC
Created attachment 4105 [details]
proposed patch
Comment 4 Stephen K Jolley 2017-10-27 18:27:55 UTC
Ross,

It appears the question has been answered.  If not please restate the question and put it back in NEEDINFO.

Thanks,
Comment 5 Ross Burton 2017-10-30 12:00:05 UTC
Patches go to the mailing list, please.
Comment 6 Robert Berger 2017-10-30 13:52:25 UTC
Just sent it to the mailing list.
Comment 7 Robert Berger 2017-11-03 17:08:45 UTC
It made it into oe patchwork:

https://patchwork.openembedded.org/series/9539/

Now it's resting there;)
Comment 8 Ross Burton 2017-11-06 17:38:52 UTC
Merged in oe-core c04ae17f439ffd5fd70d8564430a94582e2cf688.