From 8d19a56b64c27027f9c13340bae40bffbf9cbe65 Mon Sep 17 00:00:00 2001 From: Emanuele Ghidoli Date: Wed, 3 May 2023 18:48:51 +0200 Subject: image_type_tezi: add TI EULA to TI machines Add TI-TFL ("TEXAS INSTRUMENTS TEXT FILE LICENSE") to TI tezi image artifact, while removing the NXP one. Current license file come from [1]. Disable the download of an updated license from a specific url, formerly used for NXP EULA, due to missing proper link. [1] https://git.ti.com/cgit/graphics/ti-img-rogue-umlibs/tree/?h=linuxws/dunfell/k5.10/1.15.6133109 Related-to: ELB-5161 Signed-off-by: Emanuele Ghidoli (cherry picked from commit a44240a3d58d353d86be7fed4d79c086dc2f2312) --- recipes-bsp/tezi-metadata/files/TI-TFL.txt | 127 +++++++++++++++++++++++++ recipes-bsp/tezi-metadata/tezi-metadata_0.3.bb | 11 ++- 2 files changed, 134 insertions(+), 4 deletions(-) create mode 100644 recipes-bsp/tezi-metadata/files/TI-TFL.txt (limited to 'recipes-bsp') diff --git a/recipes-bsp/tezi-metadata/files/TI-TFL.txt b/recipes-bsp/tezi-metadata/files/TI-TFL.txt new file mode 100644 index 0000000..925cfe5 --- /dev/null +++ b/recipes-bsp/tezi-metadata/files/TI-TFL.txt @@ -0,0 +1,127 @@ +TEXAS INSTRUMENTS TEXT FILE LICENSE + + +Copyright (c) 2018 Texas Instruments Incorporated + +All rights reserved not granted herein. + +Limited License. + +Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive license +under copyrights and patents it now or hereafter owns or controls to make, have made, use, +import, offer to sell and sell ("Utilize") this software subject to the terms herein. With +respect to the foregoing patent license, such license is granted solely to the extent that +any such patent is necessary to Utilize the software alone. The patent license shall not +apply to any combinations which include this software, other than combinations with devices +manufactured by or for TI (TI Devices). No hardware patent is licensed hereunder. + +Redistributions must preserve existing copyright notices and reproduce this license (including +the above copyright notice and the disclaimer and (if applicable) source code license +limitations below) in the documentation and/or other materials provided with the distribution. + +Redistribution and use in binary form, without modification, are permitted provided that the +following conditions are met: + +* No reverse engineering, decompilation, or disassembly of this software is permitted with +respect to any software provided in binary form. + +* any redistribution and use are licensed by TI for use only with TI Devices. + +* Nothing shall obligate TI to provide you with source code for the software licensed and +provided to you in object code. + +If software source code is provided to you, modification and redistribution of the source code +are permitted provided that the following conditions are met: + +* any redistribution and use of the source code, including any resulting derivative works, +are licensed by TI for use only with TI Devices. + +* any redistribution and use of any object code compiled from the source code and any resulting +derivative works, are licensed by TI for use only with TI Devices. + +Neither the name of Texas Instruments Incorporated nor the names of its suppliers may be used to +endorse or promote products derived from this software without specific prior written permission. + +DISCLAIMER. + +THIS SOFTWARE IS PROVIDED BY TI AND TI™S LICENSORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL TI AND TI’S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +Certain third party licenses not included: + +Certain software may (a) require patent licenses from third parties +claiming patent rights covering implementation of the software or (b) be +based on industry recognized standards or software programs published by +industry recognized standards bodies and certain third parties may claim +to own patents or copyrights that cover implementation of those standards. +You acknowledge and agree that (i) this License does not convey a license +to any such third party patents and copyrights, (ii) you are responsible +for any fees or royalties that may be payable to any third party based on +such third party's interests in such software and (iii) you will indemnify +TI against your failure to make any such payments and will defend any +claim, suit or proceeding brought against TI insofar as such claim, suit +or proceeding is based on or arises from such failure. + +----------------------------------------------------------------------------- + +Additional legal notices pertaining to portions of included software: + + +Copyright (c) 2007-2009 The Khronos Group Inc. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and/or associated documentation files (the +"Materials"), to deal in the Materials without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Materials, and to +permit persons to whom the Materials are furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Materials. + +THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. + + +-------- + +SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) + +Copyright (C) 2006 Silicon Graphics, Inc. All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice including the dates of first publication and +either this permission notice or a reference to +http://oss.sgi.com/projects/FreeB/ shall be included in all copies or +substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +Except as contained in this notice, the name of Silicon Graphics, Inc. +shall not be used in advertising or otherwise to promote the sale, use +or other dealings in this Software without prior written authorization +from Silicon Graphics, Inc. diff --git a/recipes-bsp/tezi-metadata/tezi-metadata_0.3.bb b/recipes-bsp/tezi-metadata/tezi-metadata_0.3.bb index 4fbcc30..b8e29d9 100644 --- a/recipes-bsp/tezi-metadata/tezi-metadata_0.3.bb +++ b/recipes-bsp/tezi-metadata/tezi-metadata_0.3.bb @@ -2,19 +2,22 @@ DESCRIPTION = "Toradex Easy Installer Metadata" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" +TEZI_EULA_FILE ?= "LA_OPT_NXP_SW.html" +TEZI_EULA_FILE:ti-soc ?= "TI-TFL.txt" + SRC_URI = " \ file://prepare.sh \ file://wrapup.sh \ file://toradexlinux.png \ file://marketing.tar;unpack=false \ - file://LA_OPT_NXP_SW.html \ + file://${TEZI_EULA_FILE} \ " # We want to always check the latest EULA file in image_type_tezi.bbclass -# So we put LA_OPT_NXP_SW.html to sstate allow overlap files, this +# So we put ${TEZI_EULA_FILE} to sstate allow overlap files, this # ensures it could be deployed to ${DEPLOY_DIR_IMAGE} as a backup even # it already existed. -SSTATE_ALLOW_OVERLAP_FILES:prepend = "${DEPLOY_DIR_IMAGE}/LA_OPT_NXP_SW.html " +SSTATE_ALLOW_OVERLAP_FILES:prepend = "${DEPLOY_DIR_IMAGE}/${TEZI_EULA_FILE} " inherit deploy nopackages @@ -23,7 +26,7 @@ do_deploy () { install -m 644 ${WORKDIR}/wrapup.sh ${DEPLOYDIR} install -m 644 ${WORKDIR}/toradexlinux.png ${DEPLOYDIR} install -m 644 ${WORKDIR}/marketing.tar ${DEPLOYDIR} - install -m 644 ${WORKDIR}/LA_OPT_NXP_SW.html ${DEPLOYDIR} + install -m 644 ${WORKDIR}/${TEZI_EULA_FILE} ${DEPLOYDIR} } addtask deploy before do_build after do_install -- cgit v1.2.3