how to handle third party licenses
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Steven,
Monsees, Steven C (US) via lists.yoctoproject.org <steven.monsees= [email protected]> escreveu no dia quarta, 3/11/2021 à(s) 17:57:
Quoted 28 lines
Looking for the proper Yocto way to handle third party software ported to Yocto and built into kernel…
I’m not having issues when I recognize the license as a generic license. But the license provided to us by the vendor is not part of the generic licenses list that you (Yocto) recognize.
I was wondering if you could explain how to add a custom license to a recipe in yocto.
The vendor has provided us with a generic license.txt file and I was able to add that to the our recipe. I do get a warning though which says:
*WARNING: aiox-defaultfs-1.0-r0
do_rootfs: The license listed DataDeviceCorporation was not in the licenses collected for recipe acexpci*
Quoted 7 lines
Though the warning occurs, I can see the license.txt being saved inside the rootfs on our board and is saved under tmp/deploy/licenses/acexpci. I’ve been trying to get rid of this warning when the image builds, but I can’t seem to find anything in the manual or online. One solution says :
Add*LICENSE_PATH+= "${LAYERDIR}/custom-licenses"* underconf/layer.conf, which does not resolve this warning.
You can add the generic *license.txt* provided by the vendor to *${LAYERDIR}/custom-licenses/**vendor-lic-ID*
In conf/layer.conf add:*LICENSE_PATH += "${LAYERDIR}/custom-licenses"*
And in the recipe:
*SRC_URI += "file://license.txt"*
*LICENSE = "**vendor-lic-ID**"**LIC_FILES_CHKSUM = "file://license.txt;md5=xxxxxxxxxxxxxxxxxx"*
Quoted 22 lines
I am currently building with Yocto zeus…
Thanks,
Steve
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#55231):
https://lists.yoctoproject.org/g/yocto/message/55231
Mute This Topic: https://lists.yoctoproject.org/mt/86797500/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Best regards, José Quaresma
Quoted 28 lines · Steven C (US) via lists.yoctoproject.org
Looking for the proper Yocto way to handle third party software ported to Yocto and built into kernel…
I’m not having issues when I recognize the license as a generic license. But the license provided to us by the vendor is not part of the generic licenses list that you (Yocto) recognize.
I was wondering if you could explain how to add a custom license to a recipe in yocto.
The vendor has provided us with a generic license.txt file and I was able to add that to the our recipe. I do get a warning though which says:
*WARNING: aiox-defaultfs-1.0-r0
do_rootfs: The license listed DataDeviceCorporation was not in the licenses collected for recipe acexpci*
Quoted 8 lines
Though the warning occurs, I can see the license.txt being saved inside the rootfs on our board and is saved under tmp/deploy/licenses/acexpci. I’ve been trying to get rid of this warning when the image builds, but I can’t seem to find anything in the manual or online. One solution says :
Add*LICENSE_PATH+= "${LAYERDIR}/custom-licenses"* underconf/layer.conf, which does not resolve this warning.
Whatever you are setting for LICENSE Variable inside recipe there should be a file with same name stored inside One of LICENSE_PATH directories.
Quoted 24 lines
I am currently building with Yocto zeus…
Thanks,
Steve
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#55231):
https://lists.yoctoproject.org/g/yocto/message/55231
Mute This Topic: https://lists.yoctoproject.org/mt/86797500/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-