openvswitch: small ptest fix adapt to UNPACKDIR changes
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
@@ -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
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
Signed-off-by Liu Yiding <[email protected]>--- ...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@@ -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]] -=-=-=-=-=-=-=-=-=-=-=-