[OE-core] Consultation about the issue of archiver

zang zangrc.fnst at cn.fujitsu.com
Tue Aug 27 07:20:44 UTC 2019


hello:

Recently, when I enabled the archiver.bbclass, I found that some 
packages could not generate the srpm package. The reason is that it 
returned in the function copyleft_should_include() in the file 
archiver.bbclass.

|    included, reason = copyleft_should_include(d)
|    if not included:
|        bb.debug(1, 'archiver: %s is excluded: %s' % (pn, reason))
|        /*return from here*/
|        return
|    else:
|        bb.debug(1, 'archiver: %s is included: %s' % (pn, reason))

Why do you want to make a license judgment on the package?
I hope someone can answer it, thank you very much.
The following is my local.conf:

| ...
| INHERIT += "archiver"
| ARCHIVER_MODE[srpm] = "1"
| ARCHIVER_MODE[src] = "original"
| ...

e.g. When I use the following 
command,tmp/work/core2-64-poky-linux/openssl/1.1.1c-r0/deploy-sources/ 
is empty.

| bitbake -f -c deploy_archives openssl


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190827/e52e6cb9/attachment-0001.html>


More information about the Openembedded-core mailing list