All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH] openvswitch: small ptest fix adapt to UNPACKDIR changes
@ 2025-07-18  1:28 Liu Yiding
  2025-07-21  2:35 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Liu Yiding @ 2025-07-18  1:28 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Liu Yiding

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>
---
 ...tch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-virtualization][PATCH] openvswitch: small ptest fix adapt to UNPACKDIR changes
  2025-07-18  1:28 [meta-virtualization][PATCH] openvswitch: small ptest fix adapt to UNPACKDIR changes Liu Yiding
@ 2025-07-21  2:35 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2025-07-21  2:35 UTC (permalink / raw)
  To: liuyd.fnst; +Cc: meta-virtualization

merged.

Bruce

In message: [meta-virtualization][PATCH] openvswitch: small ptest fix adapt to UNPACKDIR changes
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 <liuyd.fnst@fujitsu.com>
> ---
>  ...tch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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 ;\
> -- 
> 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: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-21  2:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-18  1:28 [meta-virtualization][PATCH] openvswitch: small ptest fix adapt to UNPACKDIR changes Liu Yiding
2025-07-21  2:35 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.