Fix the error after recent UNPACKDIR changes in OE-core:

 | install: cannot stat 
'/var/lib/build/workspace/poky/build/tmp/work/corei7-64-poky-linux/setup-intel-oneapi-env/2023.0.0-25370/intel-oneapi-runtime.conf':
 No such file or directory

Signed-off-by: Anuj Mittal <[email protected]>
---
 .../setup-intel-oneapi-env_2023.0.0-25370.bb                 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/recipes-oneapi/setup-oneapi-env/setup-intel-oneapi-env_2023.0.0-25370.bb 
b/recipes-oneapi/setup-oneapi-env/setup-intel-oneapi-env_2023.0.0-25370.bb
index 702f794e..a1762a16 100644
--- a/recipes-oneapi/setup-oneapi-env/setup-intel-oneapi-env_2023.0.0-25370.bb
+++ b/recipes-oneapi/setup-oneapi-env/setup-intel-oneapi-env_2023.0.0-25370.bb
@@ -7,9 +7,12 @@ LIC_FILES_CHKSUM = 
"file://${CUSTOM_LICENSES_PATH}/EULA;md5=7bfc91523de2e84e7131
 
 SRC_URI = "file://intel-oneapi-runtime.conf"
 
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
+
 do_install() {
     mkdir -p ${D}${sysconfdir}/ld.so.conf.d/
-    install -m 644 ${WORKDIR}/intel-oneapi-runtime.conf 
${D}${sysconfdir}/ld.so.conf.d/
+    install -m 644 ${S}/intel-oneapi-runtime.conf 
${D}${sysconfdir}/ld.so.conf.d/
 }
 
 pkg_postinst_ontarget:${PN}() {
-- 
2.45.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8335): 
https://lists.yoctoproject.org/g/meta-intel/message/8335
Mute This Topic: https://lists.yoctoproject.org/mt/106278981/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to