diff options
| author | Emanuele Ghidoli <emanuele.ghidoli@toradex.com> | 2025-09-08 14:54:36 +0200 |
|---|---|---|
| committer | Emanuele Ghidoli <emanuele.ghidoli@toradex.com> | 2025-09-08 14:54:36 +0200 |
| commit | f5acf7d2c83f6a1e4d09fb7497bf1691598ba143 (patch) | |
| tree | 1adbc2b25ce803392e1f517003c137b324553072 | |
| parent | 40cbc30dde1e91a7acc8f75aed19a750415940b0 (diff) | |
| download | meta-freescale-f5acf7d2c83f6a1e4d09fb7497bf1691598ba143.tar.gz | |
optee-imx: remove usage of UNPACKDIR variable
While upgrading optee-imx to 4.4.0.imx, the UNPACKDIR variable was
used but it is not supported in scarthgap.
Fix by using WORKDIR instead.
Fixes: 475d20abfdb2 ("optee-imx: Upgrade 4.2.0.imx -> 4.4.0.imx")
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
| -rw-r--r-- | recipes-security/optee-imx/optee-client-fslc-imx.inc | 2 | ||||
| -rw-r--r-- | recipes-security/optee-imx/optee-client-fslc.inc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/recipes-security/optee-imx/optee-client-fslc-imx.inc b/recipes-security/optee-imx/optee-client-fslc-imx.inc index 7aeff9fd5..78d9399e4 100644 --- a/recipes-security/optee-imx/optee-client-fslc-imx.inc +++ b/recipes-security/optee-imx/optee-client-fslc-imx.inc | |||
| @@ -21,7 +21,7 @@ TEE_GROUP_NAME ?= "teeclnt" | |||
| 21 | do_install:append () { | 21 | do_install:append () { |
| 22 | if ${@oe.utils.conditional('VIRTUAL-RUNTIME_dev_manager', 'busybox-mdev', 'false', 'true', d)}; then | 22 | if ${@oe.utils.conditional('VIRTUAL-RUNTIME_dev_manager', 'busybox-mdev', 'false', 'true', d)}; then |
| 23 | install -d ${D}${nonarch_base_libdir}/udev/rules.d/ | 23 | install -d ${D}${nonarch_base_libdir}/udev/rules.d/ |
| 24 | install -m 755 ${UNPACKDIR}/tee-udev.rules ${D}${nonarch_base_libdir}/udev/rules.d/ | 24 | install -m 755 ${WORKDIR}/tee-udev.rules ${D}${nonarch_base_libdir}/udev/rules.d/ |
| 25 | sed -i -e "s/teeclnt/${TEE_GROUP_NAME}/" ${D}${nonarch_base_libdir}/udev/rules.d/tee-udev.rules | 25 | sed -i -e "s/teeclnt/${TEE_GROUP_NAME}/" ${D}${nonarch_base_libdir}/udev/rules.d/tee-udev.rules |
| 26 | fi | 26 | fi |
| 27 | 27 | ||
diff --git a/recipes-security/optee-imx/optee-client-fslc.inc b/recipes-security/optee-imx/optee-client-fslc.inc index 455bdd780..3adf38da3 100644 --- a/recipes-security/optee-imx/optee-client-fslc.inc +++ b/recipes-security/optee-imx/optee-client-fslc.inc | |||
| @@ -27,8 +27,8 @@ EXTRA_OECMAKE = " \ | |||
| 27 | EXTRA_OECMAKE:append:toolchain-clang = " -DCFG_WERROR=0" | 27 | EXTRA_OECMAKE:append:toolchain-clang = " -DCFG_WERROR=0" |
| 28 | 28 | ||
| 29 | do_install:append() { | 29 | do_install:append() { |
| 30 | install -D -p -m0644 ${UNPACKDIR}/tee-supplicant@.service ${D}${systemd_system_unitdir}/tee-supplicant@.service | 30 | install -D -p -m0644 ${WORKDIR}/tee-supplicant@.service ${D}${systemd_system_unitdir}/tee-supplicant@.service |
| 31 | install -D -p -m0755 ${UNPACKDIR}/tee-supplicant.sh ${D}${sysconfdir}/init.d/tee-supplicant | 31 | install -D -p -m0755 ${WORKDIR}/tee-supplicant.sh ${D}${sysconfdir}/init.d/tee-supplicant |
| 32 | 32 | ||
| 33 | sed -i -e s:@sysconfdir@:${sysconfdir}:g \ | 33 | sed -i -e s:@sysconfdir@:${sysconfdir}:g \ |
| 34 | -e s:@sbindir@:${sbindir}:g \ | 34 | -e s:@sbindir@:${sbindir}:g \ |
