From 9b034e3defd4aa1108d7a6b4dcca600d4352b132 Mon Sep 17 00:00:00 2001 From: "Yiding Liu (Fujitsu)" Date: Fri, 18 Jul 2025 09:28:08 +0800 Subject: 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 Signed-off-by: Liu Yiding Signed-off-by: Bruce Ashfield --- ...openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-networking/openvswitch/openvswitch-git') diff --git a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch index abad1458..e55e434d 100644 --- a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch +++ b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch @@ -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 ;\ -- cgit v1.2.3-54-g00ecf