Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web12.2432.1585782800047091964 for ; Wed, 01 Apr 2020 16:13:20 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 7A96840B30; Wed, 1 Apr 2020 23:13:19 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IgV2SPT-3ohl; Wed, 1 Apr 2020 23:13:19 +0000 (UTC) Received: from mail.denix.org (pool-100-15-86-127.washdc.fios.verizon.net [100.15.86.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 66F0540BEF; Wed, 1 Apr 2020 23:13:18 +0000 (UTC) Received: from gimli.denix (unknown [192.168.30.6]) by mail.denix.org (Postfix) with ESMTP id C4D781718FF; Wed, 1 Apr 2020 19:13:16 -0400 (EDT) From: "Denys Dmytriyenko" To: meta-arm@lists.yoctoproject.org Cc: Denys Dmytriyenko Subject: [PATCH 3/5] optee-client: upgrade 3.7.0 -> 3,8,0, cleanup Date: Wed, 1 Apr 2020 19:13:04 -0400 Message-Id: <1585782786-34477-3-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1585782786-34477-1-git-send-email-denis@denix.org> References: <1585782786-34477-1-git-send-email-denis@denix.org> From: Denys Dmytriyenko * Rename with _git suffix to match other optee recipes * Add DESCRIPTION * Use common HOMEPAGE * Use install command for header files instead of cp -a Signed-off-by: Denys Dmytriyenko --- .../optee/{optee-client.bb => optee-client_git.bb} | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) rename meta-arm/recipes-security/optee/{optee-client.bb => optee-client_git.bb} (63%) diff --git a/meta-arm/recipes-security/optee/optee-client.bb b/meta-arm/recipes-security/optee/optee-client_git.bb similarity index 63% rename from meta-arm/recipes-security/optee/optee-client.bb rename to meta-arm/recipes-security/optee/optee-client_git.bb index 519683a..a25d343 100644 --- a/meta-arm/recipes-security/optee/optee-client.bb +++ b/meta-arm/recipes-security/optee/optee-client_git.bb @@ -1,18 +1,21 @@ -SUMMARY = "OPTEE Client" -HOMEPAGE = "https://github.com/OP-TEE/optee_client" +SUMMARY = "OP-TEE Client API" +DESCRIPTION = "Open Portable Trusted Execution Environment - Normal World Client side of the TEE" +HOMEPAGE = "https://www.op-tee.org/" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=69663ab153298557a59c67a60a743e5b" -PV = "3.7.0+git${SRCPV}" +PV = "3.8.0+git${SRCPV}" inherit python3native systemd -SRC_URI = "git://github.com/OP-TEE/optee_client.git \ - file://tee-supplicant.service" -S = "${WORKDIR}/git" +SRCREV = "be4fa2e36f717f03ca46e574aa66f697a897d090" +SRC_URI = " \ + git://github.com/OP-TEE/optee_client.git \ + file://tee-supplicant.service \ +" -SRCREV = "bc0ec8ce1e4dc5ae23f4737ef659338b7cd408fe" +S = "${WORKDIR}/git" SYSTEMD_SERVICE_${PN} = "tee-supplicant.service" @@ -25,7 +28,8 @@ do_install() { ln -sf libteec.so.1.0 ${D}${libdir}/libteec.so ln -sf libteec.so.1.0 ${D}${libdir}/libteec.so.1 - cp -a ${S}/out/export/usr/include ${D}/usr/ + install -d ${D}${includedir} + install -p -m0644 ${S}/out/export/usr/include/*.h ${D}${includedir} sed -i -e s:/etc:${sysconfdir}:g \ -e s:/usr/bin:${bindir}:g \ -- 2.7.4