optee: update os/client/test to 3.5.0 final
PATCH v2 1/1 optee: update os/client/test to 3.5.0 final
optee-client has changed where exported files are deployed, but upstream meta-optee hasn't caught up to that, so override do_install() locally.
Signed-off-by Denys Dmytriyenko <[email protected]>
Cc Andrew F. Davis <[email protected]>
Cc Dan Murphy <[email protected]>
---
v2 - include optee-os update, fix optee-client do_install()
.../optee/optee-client.bbappend | 27 ++++++++++++++++--- .../optee/optee-os_git.bbappend | 6 ++--- .../optee/optee-test_git.bbappend | 8 +++--- 3 files changed, 30 insertions(+), 11 deletions(-)
meta-arago-distro/recipes-security/optee/optee-client.bbappend +23 -4
@@ -1,11 +1,30 @@ -PR_append = ".arago2" +PR_append = ".arago0" SRC_URI = "git://git.ti.com/optee/ti-optee-client.git;branch=${BRANCH} \ file://tee-supplicant.service" LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=69663ab153298557a59c67a60a743e5b" -PV = "3.2.0+git${SRCPV}" +PV = "3.5.0+git${SRCPV}" -BRANCH = "ti_optee_client" -SRCREV = "08428734c67fb559e420d87fa52fd74a955ea1bd" +BRANCH = "ti-optee-client" +SRCREV = "1f8f9abe4a31abd7b7490a7ddd9bbe812c92d5af" + +do_install() { + oe_runmake install + + install -D -p -m0755 ${S}/out/export${sbindir}/tee-supplicant ${D}${sbindir}/tee-supplicant + + install -D -p -m0644 ${S}/out/export${libdir}/libteec.so.1.0 ${D}${libdir}/libteec.so.1.0 + ln -sf libteec.so.1.0 ${D}${libdir}/libteec.so + ln -sf libteec.so.1.0 ${D}${libdir}/libteec.so.1 + + install -d ${D}${includedir} + install -p -m0644 ${S}/out/export${includedir}/*.h ${D}${includedir} + + sed -i -e s:/etc:${sysconfdir}:g \ + -e s:/usr/bin:${bindir}:g \ + ${WORKDIR}/tee-supplicant.service + + install -D -p -m0644 ${WORKDIR}/tee-supplicant.service ${D}${systemd_system_unitdir}/tee-supplicant.service +}
meta-arago-distro/recipes-security/optee/optee-os_git.bbappend +3 -3
@@ -2,7 +2,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=c1f21c4f72f372ef38a5a4aee55ec173" -PR_append = ".arago1" +PR_append = ".arago2" PV = "3.5.0+git${SRCPV}"
@@ -12,8 +12,8 @@ is_armv7_aarch64 = "0" SRC_URI = "git://git.ti.com/optee/ti-optee-os.git;branch=${BRANCH} \ file://0001-allow-setting-sysroot-for-libgcc-lookup.patch \ " -BRANCH = "ti_optee_os" -SRCREV = "b38f935200f67f9408d7c5d99fe703e5cc806c65" +BRANCH = "ti-optee-os" +SRCREV = "251f7c6325856a056e326f368c0b44ce277a5a36" ARMCORE = "CFG_ARM32_core=y ta-targets=ta_arm32" ARMCORE_aarch64 = "CFG_ARM64_core=y ta-targets=ta_arm64"
meta-arago-distro/recipes-security/optee/optee-test_git.bbappend +4 -4
@@ -1,12 +1,12 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -PR_append = ".arago2" +PR_append = ".arago0" SRC_URI = "git://git.ti.com/optee/ti-optee-test.git;branch=${BRANCH}" SRC_URI += "file://0001-host-xtest-Makefile-fix-COMPILE_NS_USER-not-being-se.patch" -PV = "3.2.0+git${SRCPV}" +PV = "3.5.0+git${SRCPV}" -BRANCH = "ti_optee_test" -SRCREV = "274d3c55dfa2f4726109dc9773c82fe8d5a44dae" +BRANCH = "ti-optee-test" +SRCREV = "e4f6f76b4cb5763112f4722981f84a26f4ac7e55"
Signature · 1 line
2.17.1