Skip to contentSkip to conversation

test-pacbti: Switch away from S = WORKDIR

PATCH In review Martin Jansa 2 participants 2 messages May 27, 2024 – May 30, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test-pacbti: Switch away from S = WORKDIR

* like oe-core did in:
https://git.openembedded.org/openembedded-core/commit/?id=d9328e3b0b062f0621de3d114584b44f384a1c02

* it's fatal for parsing now:
https://git.openembedded.org/openembedded-core/commit/?id=32cba1cc916ad530c5e6630a927e74ca6f06289b
ERROR: meta-arm/meta-arm/recipes-test/pacbti/test-pacbti.bb: Using S = ${WORKDIR} is no longer supported
ERROR: Parsing halted due to errors, see error messages above

---
 meta-arm/recipes-test/pacbti/test-pacbti.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-arm/recipes-test/pacbti/test-pacbti.bb +2 -1
index 331c5854..b0ce1988 100644
@@ -4,7 +4,8 @@ LIC_FILES_CHKSUM = "file://pacbti.c;beginline=2;endline=2;md5=6ec41034e04432ee37
 
 SRC_URI = "file://pacbti.c"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_compile() {
     # Compile with -zforce-bti with fatal warnings, so the link fails if PAC/BTI
Signature · 1 line
2.45.1
#1 lore raw
Quoted 9 lines · Martin Jansa

* like oe-core did in:
https://git.openembedded.org/openembedded-core/commit/?id=d9328e3b0b062f0621de3d114584b44f384a1c02

* it's fatal for parsing now:
https://git.openembedded.org/openembedded-core/commit/?id=32cba1cc916ad530c5e6630a927e74ca6f06289b
ERROR: meta-arm/meta-arm/recipes-test/pacbti/test-pacbti.bb: Using S = ${WORKDIR} is no longer supported
ERROR: Parsing halted due to errors, see error messages above

Ryan sent a patch to address the same issue on Friday. Since his was first, I'll take that one. Unfortunately, I need to delay applying it for a couple of weeks due to an upcoming BSP release.

Thanks,
Jon

Quoted 22 lines
---
 meta-arm/recipes-test/pacbti/test-pacbti.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-arm/recipes-test/pacbti/test-pacbti.bb +2 -1
index 331c5854..b0ce1988 100644
@@ -4,7 +4,8 @@ LIC_FILES_CHKSUM = "file://pacbti.c;beginline=2;endline=2;md5=6ec41034e04432ee37
 
 SRC_URI = "file://pacbti.c"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_compile() {
     # Compile with -zforce-bti with fatal warnings, so the link fails if PAC/BTI
Signature · 1 line
2.45.1