Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47343C433EF for ; Wed, 3 Nov 2021 17:57:21 +0000 (UTC) Received: from dmzms99801.na.baesystems.com (dmzms99801.na.baesystems.com [149.32.232.65]) by mx.groups.io with SMTP id smtpd.web12.13.1635962239813161019 for ; Wed, 03 Nov 2021 10:57:20 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baesystems.com header.s=trusted01 header.b=S5h/SM1+; spf=pass (domain: baesystems.com, ip: 149.32.232.65, mailfrom: steven.monsees@baesystems.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=baesystems.com; i=@baesystems.com; q=dns/txt; s=trusted01; t=1635962239; x=1793642239; h=from:to:subject:date:mime-version; bh=XzuKTUR67Prvt3aVlxgHb2Y/FHa4ES9HfXnnj9IqGUo=; b=S5h/SM1+JDuMwAa7UKDLECLbouDFTKlTyhvKJ8gilb6UnA7tV+Kfruf5 Ue4D77xyKnecNrPMYI+tVkuyjFzJM8MbwjAOnKHDTqqk42FFjx4pqxBxI oEvjlpCgO7tI+j2CkaV551sGtKBQbH/DvitImFzhjyyesSLSTxpa8Wp/7 w=; IronPort-SDR: DiwZRuH3/EBCDhmSyH2ijsag1EW478oNZMkcMtHapn8POTJKQ3h39EOH2KhXxn9zcVNgZ7wzt0 iKubF2fje1iQ== IronPort-PHdr: =?us-ascii?q?A9a23=3AmWIG0hOZGGWgcfr/uyol6nZjChdPi9zP1u491?= =?us-ascii?q?JMrhvp0f7i5+Ny6ZQqDv6wr1AaCBN+Bo7Ic0qyK6fimATRBqb+681k6OKRWU?= =?us-ascii?q?BEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdA?= =?us-ascii?q?AjwOhRoLerp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3D?= IronPort-HdrOrdr: =?us-ascii?q?A9a23=3An7JFT6p/r05vHUFBQ0MFV9gaV5oseYIsim?= =?us-ascii?q?QD101hICG9E/bo8fxG+c5wuCMc5wxxZJhNo7C90dC7L080lqQFhrX5X43SOT?= =?us-ascii?q?UO0VHAROpfBO3Zsl7d8kXFmtK1vp0QF5SWZueAb2STUq7BjzVRdL4bsaC6zJ?= =?us-ascii?q?w=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2B/BADLzIJh/0LhJQpaHgE8DAILFQm?= =?us-ascii?q?BUIEhggCBTbF0gXwLAQEBAQEBAQEBCAFBBAEBgg2FSyY1CA4BAgQBAQESAQE?= =?us-ascii?q?GAQEBAQEGBAGBI4VpDII1IoQfXgEVax8HAQQbE4JXgX6vS4EzGgJlhGmFDwk?= =?us-ascii?q?BgTCBZoU1gnqGD0OPPwSQBTEdbg9pkkg5jCOgBQcDgzSeZy8Vlg0DkRiWDh+?= =?us-ascii?q?hEYRRAgQCBAUCFoFjAYIRcFCCalAXAo47Fo4ugSwCBgsBAQMJkBuBEAEB?= X-IPAS-Result: =?us-ascii?q?A2B/BADLzIJh/0LhJQpaHgE8DAILFQmBUIEhggCBTbF0g?= =?us-ascii?q?XwLAQEBAQEBAQEBCAFBBAEBgg2FSyY1CA4BAgQBAQESAQEGAQEBAQEGBAGBI?= =?us-ascii?q?4VpDII1IoQfXgEVax8HAQQbE4JXgX6vS4EzGgJlhGmFDwkBgTCBZoU1gnqGD?= =?us-ascii?q?0OPPwSQBTEdbg9pkkg5jCOgBQcDgzSeZy8Vlg0DkRiWDh+hEYRRAgQCBAUCF?= =?us-ascii?q?oFjAYIRcFCCalAXAo47Fo4ugSwCBgsBAQMJkBuBEAEB?= X-IronPort-AV: E=Sophos;i="5.87,206,1631577600"; d="scan'208,217";a="423301252" IronPort-SDR: QQyi/w3D6SrDJE233vWuE09/izzQ4CGBmRAsRgesIt4lVAzbsJo60+tGdSutha3uIPA8n8oJyU KFw15APrVqjA== X-IronPort-AV: E=Sophos;i="5.87,206,1631577600"; d="scan'208,217";a="16508211" From: "Monsees, Steven C (US)" To: "yocto@lists.yoctoproject.org" Subject: how to handle third party licenses Thread-Topic: how to handle third party licenses Thread-Index: AdfQ2zQkTSfUzOHqTW+aTeJKfy5iBg== Date: Wed, 3 Nov 2021 17:57:15 +0000 Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.44.4.15] Content-Type: multipart/alternative; boundary="_000_d638c396a3ee4650b09035cd17734b24baesystemscom_" MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 03 Nov 2021 17:57:21 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55231 Message-Id: <20211103175721.47343C433EF@smtp.lore.kernel.org> --_000_d638c396a3ee4650b09035cd17734b24baesystemscom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Looking for the proper Yocto way to handle third party software ported to Y= octo and built into kernel... I'm not having issues when I recognize the license as a generic license. Bu= t the license provided to us by the vendor is not part of the generic licen= ses list that you (Yocto) recognize. I was wondering if you could explain how to add a custom license to a recip= e in yocto. The vendor has provided us with a generic license.txt file and I was able t= o 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 DataDeviceCorp= oration was not in the licenses collected for recipe acexpci 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 b= een trying to get rid of this warning when the image builds, but I can't se= em to find anything in the manual or online. One solution says : Add LICENS= E_PATH +=3D "${LAYERDIR}/custom-licenses" under conf/layer.conf, which does= not resolve this warning. I am currently building with Yocto zeus... Thanks, Steve --_000_d638c396a3ee4650b09035cd17734b24baesystemscom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

 

Looking for the proper Yocto way to handle third par= ty software ported to Yocto and built into kernel…

 

I’m not having i= ssues when I recognize the license as a generic license. But the license pr= ovided to us by the vendor is not part of the generic licenses list that yo= u (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.tx= t file and I was able to add that to the our recipe. I do get a warning tho= ugh which says:

 

WARNING: aiox-defaultfs= -1.0-r0 do_rootfs: The license listed DataDeviceCorporation was not in the = licenses collected for recipe acexpci

 

Though the warning occurs, I can see the license.txt= being saved inside the rootfs on our board and is saved under tmp/deploy/l= icenses/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 = +=3D "${LAYERDIR}/custom-licenses" under conf/layer.conf,= which does not resolve this warning.

 

I am currently building with Yocto zeus…<= /o:p>

 

Thanks,

Steve

 

--_000_d638c396a3ee4650b09035cd17734b24baesystemscom_--