meta-imx/meta-imx-bsp/recipes-security/optee/optee-client-imx.inc
Valentin Jec 6f50cf96b4 fixup! optee-client: Fix unshipped libdir directory
Remove /usr/lib64/systemd when multilib is enabled

The service file is getting created twice by the source code and the recipe, so removing the one in the wrong location

Signed-off-by: Valentin Jec <valentin.jec@nxp.com>
2024-10-23 22:52:07 +03:00

22 lines
711 B
PHP

require recipes-security/optee/optee-client.inc
DEPENDS += "util-linux-libuuid"
FILESEXTRAPATHS:prepend := "${THISDIR}/optee-client:"
SRC_URI:remove = "git://github.com/OP-TEE/optee_client.git;branch=master;protocol=https"
SRC_URI:prepend = "${OPTEE_CLIENT_SRC};branch=${SRCBRANCH} "
OPTEE_CLIENT_SRC ?= "git://github.com/nxp-imx/imx-optee-client.git;protocol=https"
inherit pkgconfig
EXTRA_OECMAKE += "-DCFG_TEE_CLIENT_LOAD_PATH=${nonarch_base_libdir}"
do_install:append () {
if [ "${libdir}" != "${nonarch_base_libdir}" ]; then
rm -rf ${D}${libdir}/systemd
fi
}
inherit ${@oe.utils.conditional('VIRTUAL-RUNTIME_dev_manager', 'busybox-mdev', '', 'useradd', d)}
USERADD_PACKAGES = "${PN}"