[yocto] excluding the Proprietary source code from the archive

jan vermaete jan.vermaete at gmail.com
Fri Jun 8 02:57:48 PDT 2018


Hi,

I have a question about the licenses stuff of Yocto.  I hope this is the
correct place to ask.

I followed the instructions of the mega manual (chapter 7.32.3.1 Providing
the Source Code).

Added in my local.conf:
  INHERIT += "archiver"
  ARCHIVER_MODE[src] = "original"
  COPYLEFT_LICENSE_EXCLUDE="CLOSED Proprietary"

I have a recipe called x.bb, with 'LICENSE = "Proprietary"'

After a build of the image, there is the file
'build/deploy/licenses/x/recipeinfo' which holds the correct license
'LICENSE: Proprietary'

However, I still see the archive of the source code in 'build/deploy/source'


PS: I have DEPLOY_DIR = "${TOPDIR}/deploy"  in my local.conf file.  But
without, the result is the same.

br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180608/deb6abc4/attachment-0001.html>


More information about the yocto mailing list