summaryrefslogtreecommitdiff
path: root/recipes-multimedia
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2024-05-31 11:30:33 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2024-05-31 17:32:46 +0200
commit48fb6ae80a1aa5765ff420877219d8eb35b11396 (patch)
tree0e422642fa0d25006184f51dd9fc4b9f0b0c92b2 /recipes-multimedia
parent9f699aed67850db573ee3c51de7110fd235084c1 (diff)
recipes: cope with moved directory for unpack
OE master (styhead) no longer unpacks in ${WORKDIR} but rather does it in path defined by the new variable UNPACKDIR. Additionally '${S} = ${WORKDIR}' is no longer allowed and results in a parse time error. Cope with the change so that the layer builds against scarthgap and styhead. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-multimedia')
-rw-r--r--recipes-multimedia/media-files/media-files_1.3.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-multimedia/media-files/media-files_1.3.bb b/recipes-multimedia/media-files/media-files_1.3.bb
index c51497f..6eb35bd 100644
--- a/recipes-multimedia/media-files/media-files_1.3.bb
+++ b/recipes-multimedia/media-files/media-files_1.3.bb
@@ -1,6 +1,6 @@
SUMMARY = "Media Files for tests"
LICENSE = "CC0-1.0"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/CC0-1.0;md5=0ceb3372c9595f0a8067e55da801e4a1"
+LIC_FILES_CHKSUM = "file://${S}/../CC0-1.0;md5=0ceb3372c9595f0a8067e55da801e4a1"
inherit allarch bin_package
@@ -8,7 +8,7 @@ SRC_URI = "https://docs1.toradex.com/114780-media-files-${PV}.tar.xz"
SRC_URI[sha256sum] = "d6a3cd2003798fec80fb8008d2e48a5fa2c581f4ae66c03cd573d33b18341e67"
-S = "${WORKDIR}/media-files"
+S = "${@d.getVar("UNPACKDIR") or '${WORKDIR}'}/media-files"
# Install the files to ${D}${ROOT_HOME}
# Source code of original poky function: