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 <liuyd.fnst@fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Yiding Liu (Fujitsu) 2025-07-18 09:28:08 +08:00 committed by Bruce Ashfield
parent 69c32e6e65
commit 9b034e3def

View File

@ -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 ;\