Skip to contentSkip to conversation

openvswitch: small ptest fix adapt to UNPACKDIR changes

PATCH In review Liu Yiding 2 participants 2 messages Jul 18, 2025 – Jul 21, 2025

lore
Share & tools
lore

Liu Yiding

author
#0 lore raw

PATCH 1/1 openvswitch: small ptest fix adapt to UNPACKDIR changes

Assume the build conf dir is /mnt/test/build_auh
before UNPACKDIR change:
S="/mnt/test/build_auh/tmp/work/qemuarm64-poky-linux/openvswitch/3.5.0/git"
after UNPACKDIR change:
S="/mnt/test/build_auh/tmp/work/qemuarm64-poky-linux/openvswitch/3.5.0/sources/openvswitch-3.5.0"

Then we should change ptest patch to adapt to it

---
 ...tch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch +1 -1
index abad1458..e55e434d 100644
@@ -86,7 +86,7 @@ index 0000000..0b4587c
 +	install $(srcdir)/utilities/ovs-pki.in $(TEST_DEST)/utilities ;\
 +	for p in $$list ; do \
 +	  echo $$p ;\
-+	  p=$${p#../git/} ;\
++	  p=$${p#../sources/openvswitch*/} ;\
 +	  pre=$${p#tests\/} ;\
 +	  if test $$pre != $$p ; then \
 +	    echo installing $$p to $(TEST_DEST)/tests/$$pre ;\
Signature · 1 line
2.43.0
#1 lore raw

merged.

Bruce

In message: [meta-virtualization][PATCH] openvswitch: small ptest fix adapt to UNPACKDIR changes

Quoted 39 lines · on 18/07/2025 Yiding Liu (Fujitsu) via lists.yoctoproject.org wrote:

Assume the build conf dir is /mnt/test/build_auh
before UNPACKDIR change:
S="/mnt/test/build_auh/tmp/work/qemuarm64-poky-linux/openvswitch/3.5.0/git"
after UNPACKDIR change:
S="/mnt/test/build_auh/tmp/work/qemuarm64-poky-linux/openvswitch/3.5.0/sources/openvswitch-3.5.0"

Then we should change ptest patch to adapt to it

---
 ...tch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch +1 -1
index abad1458..e55e434d 100644
@@ -86,7 +86,7 @@ index 0000000..0b4587c
 +	install $(srcdir)/utilities/ovs-pki.in $(TEST_DEST)/utilities ;\
 +	for p in $$list ; do \
 +	  echo $$p ;\
-+	  p=$${p#../git/} ;\
++	  p=$${p#../sources/openvswitch*/} ;\
 +	  pre=$${p#tests\/} ;\
 +	  if test $$pre != $$p ; then \
 +	    echo installing $$p to $(TEST_DEST)/tests/$$pre ;\
Signature · 11 lines
2.43.0



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