setup-intel-oneapi-env : Fix S variable warning

Fix the following warning:
the directory ${UNPACKDIR}/${BP} (/build/tmp/work/...../sources/setup-intel-oneapi-env-*)
pointed to by the S variable doesn't exist - please set S within the recipe to
point to where the source has been unpacked to

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Yogesh Tyagi 2025-07-07 22:20:44 +08:00 committed by Anuj Mittal
parent da0d981264
commit 948f32898c
No known key found for this signature in database
GPG Key ID: B749E1556041E1B2

View File

@ -7,9 +7,11 @@ LIC_FILES_CHKSUM = "file://${CUSTOM_LICENSES_PATH}/EULA;md5=7bfc91523de2e84e7131
SRC_URI = "file://intel-oneapi-runtime.conf"
S = "${UNPACKDIR}"
do_install() {
mkdir -p ${D}${sysconfdir}/ld.so.conf.d/
install -m 644 ${UNPACKDIR}/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}() {