setup-intel-oneapi-env: set dedicated UNPACKDIR

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 <anuj.mittal@intel.com>
This commit is contained in:
Anuj Mittal 2024-05-24 10:34:35 +08:00
parent 856fd19c35
commit 98a4c95816

View File

@ -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}() {