All of lore.kernel.org
 help / color / mirror / Atom feed
* [master][PATCH] openvswitch: fix ptest contains reference to TMPDIR [buildpaths]
@ 2024-10-21 11:23 Bin Lan
  2024-10-31  3:56 ` [meta-virtualization] " Bruce Ashfield
  2024-11-02  4:05 ` Bruce Ashfield
  0 siblings, 2 replies; 3+ messages in thread
From: Bin Lan @ 2024-10-21 11:23 UTC (permalink / raw)
  To: meta-virtualization; +Cc: bin.lan.cn

The EGREP in ptest/tests/atlocal contains the build paths.
The CFLAGS in ptest/tests/atlocal contains the build paths.
This change set fixs:
 - set EGREP to "grep -E" in ptest/tests/atlocal
 - set CFLAGS to " " in ptest/tests/atlocal
by updating the patch
openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch.

Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
---
 ...est-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch | 11 ++++++++++-
 1 file changed, 10 insertions(+), 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 571753a5..abad1458 100644
--- a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch
+++ b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch
@@ -16,6 +16,13 @@ Signed-off-by: He Zhe <zhe.he@windriver.com>
 refresh patch to fix patch-fuzz warning
 Signed-off-by: Changqing Li <changqing.li@windriver.com>
 
+Refresh patch to fix file ptest/tests/atlocal 
+contains reference to TMPDIR [buildpaths]. The fix is:
+ - set EGREP to "grep -E" in ptest/tests/atlocal
+ - set CFLAGS to " " in ptest/tests/atlocal
+
+Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
+
 Upstream-Status: Inappropriate [embedded specific]
 ---
  Makefile.am |  1 +
@@ -37,7 +44,7 @@ new file mode 100644
 index 0000000..0b4587c
 --- /dev/null
 +++ b/test.mk
-@@ -0,0 +1,74 @@
+@@ -0,0 +1,76 @@
 +TEST_DEST ?= ${prefix}/lib/openvswitch
 +TEST_ROOT ?= ${prefix}/lib/openvswitch
 +TEST_DEPEND =
@@ -112,3 +119,5 @@ index 0000000..0b4587c
 +	sed -i 's|$$srcdir|$$abs_srcdir|g' $(TEST_DEST)/tests/testsuite
 +	sed -i 's|ovs-appctl-bashcomp\.bash|/etc/bash_completion.d/ovs-appctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite
 +	sed -i 's|ovs-vsctl-bashcomp\.bash|/etc/bash_completion.d/ovs-vsctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite
++	sed -i 's|EGREP=.*|EGREP='"'"'grep -E'"'"'|g' $(TEST_DEST)/tests/atlocal
++	sed -i 's|CFLAGS=.*|CFLAGS='"'"' '"'"'|g' $(TEST_DEST)/tests/atlocal
-- 
2.34.1



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

* Re: [meta-virtualization] [master][PATCH] openvswitch: fix ptest contains reference to TMPDIR [buildpaths]
  2024-10-21 11:23 [master][PATCH] openvswitch: fix ptest contains reference to TMPDIR [buildpaths] Bin Lan
@ 2024-10-31  3:56 ` Bruce Ashfield
  2024-11-02  4:05 ` Bruce Ashfield
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2024-10-31  3:56 UTC (permalink / raw)
  To: bin.lan.cn; +Cc: meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 3347 bytes --]

Thanks for the patch.

I injured my hand (so I couldn't type) and then had to do some release
preparation, but will get to merging his shortly.

Bruce

On Mon, Oct 21, 2024 at 7:23 AM Bin Lan via lists.yoctoproject.org <
bin.lan.cn=windriver.com@lists.yoctoproject.org> wrote:

> The EGREP in ptest/tests/atlocal contains the build paths.
> The CFLAGS in ptest/tests/atlocal contains the build paths.
> This change set fixs:
>  - set EGREP to "grep -E" in ptest/tests/atlocal
>  - set CFLAGS to " " in ptest/tests/atlocal
> by updating the patch
> openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch.
>
> Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
> ---
>  ...est-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 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 571753a5..abad1458 100644
> ---
> a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch
> +++
> b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch
> @@ -16,6 +16,13 @@ Signed-off-by: He Zhe <zhe.he@windriver.com>
>  refresh patch to fix patch-fuzz warning
>  Signed-off-by: Changqing Li <changqing.li@windriver.com>
>
> +Refresh patch to fix file ptest/tests/atlocal
> +contains reference to TMPDIR [buildpaths]. The fix is:
> + - set EGREP to "grep -E" in ptest/tests/atlocal
> + - set CFLAGS to " " in ptest/tests/atlocal
> +
> +Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
> +
>  Upstream-Status: Inappropriate [embedded specific]
>  ---
>   Makefile.am |  1 +
> @@ -37,7 +44,7 @@ new file mode 100644
>  index 0000000..0b4587c
>  --- /dev/null
>  +++ b/test.mk
> -@@ -0,0 +1,74 @@
> +@@ -0,0 +1,76 @@
>  +TEST_DEST ?= ${prefix}/lib/openvswitch
>  +TEST_ROOT ?= ${prefix}/lib/openvswitch
>  +TEST_DEPEND =
> @@ -112,3 +119,5 @@ index 0000000..0b4587c
>  +      sed -i 's|$$srcdir|$$abs_srcdir|g' $(TEST_DEST)/tests/testsuite
>  +      sed -i
> 's|ovs-appctl-bashcomp\.bash|/etc/bash_completion.d/ovs-appctl-bashcomp\.bash|g'
> $(TEST_DEST)/tests/testsuite
>  +      sed -i
> 's|ovs-vsctl-bashcomp\.bash|/etc/bash_completion.d/ovs-vsctl-bashcomp\.bash|g'
> $(TEST_DEST)/tests/testsuite
> ++      sed -i 's|EGREP=.*|EGREP='"'"'grep -E'"'"'|g'
> $(TEST_DEST)/tests/atlocal
> ++      sed -i 's|CFLAGS=.*|CFLAGS='"'"' '"'"'|g'
> $(TEST_DEST)/tests/atlocal
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#8933):
> https://lists.yoctoproject.org/g/meta-virtualization/message/8933
> Mute This Topic: https://lists.yoctoproject.org/mt/109130169/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [
> bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II

[-- Attachment #2: Type: text/html, Size: 5449 bytes --]

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

* Re: [meta-virtualization] [master][PATCH] openvswitch: fix ptest contains reference to TMPDIR [buildpaths]
  2024-10-21 11:23 [master][PATCH] openvswitch: fix ptest contains reference to TMPDIR [buildpaths] Bin Lan
  2024-10-31  3:56 ` [meta-virtualization] " Bruce Ashfield
@ 2024-11-02  4:05 ` Bruce Ashfield
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2024-11-02  4:05 UTC (permalink / raw)
  To: bin.lan.cn; +Cc: meta-virtualization

merged.

Bruce

In message: [meta-virtualization] [master][PATCH] openvswitch: fix ptest contains reference to TMPDIR [buildpaths]
on 21/10/2024 Bin Lan via lists.yoctoproject.org wrote:

> The EGREP in ptest/tests/atlocal contains the build paths.
> The CFLAGS in ptest/tests/atlocal contains the build paths.
> This change set fixs:
>  - set EGREP to "grep -E" in ptest/tests/atlocal
>  - set CFLAGS to " " in ptest/tests/atlocal
> by updating the patch
> openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch.
> 
> Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
> ---
>  ...est-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 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 571753a5..abad1458 100644
> --- a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch
> +++ b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch
> @@ -16,6 +16,13 @@ Signed-off-by: He Zhe <zhe.he@windriver.com>
>  refresh patch to fix patch-fuzz warning
>  Signed-off-by: Changqing Li <changqing.li@windriver.com>
>  
> +Refresh patch to fix file ptest/tests/atlocal 
> +contains reference to TMPDIR [buildpaths]. The fix is:
> + - set EGREP to "grep -E" in ptest/tests/atlocal
> + - set CFLAGS to " " in ptest/tests/atlocal
> +
> +Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
> +
>  Upstream-Status: Inappropriate [embedded specific]
>  ---
>   Makefile.am |  1 +
> @@ -37,7 +44,7 @@ new file mode 100644
>  index 0000000..0b4587c
>  --- /dev/null
>  +++ b/test.mk
> -@@ -0,0 +1,74 @@
> +@@ -0,0 +1,76 @@
>  +TEST_DEST ?= ${prefix}/lib/openvswitch
>  +TEST_ROOT ?= ${prefix}/lib/openvswitch
>  +TEST_DEPEND =
> @@ -112,3 +119,5 @@ index 0000000..0b4587c
>  +	sed -i 's|$$srcdir|$$abs_srcdir|g' $(TEST_DEST)/tests/testsuite
>  +	sed -i 's|ovs-appctl-bashcomp\.bash|/etc/bash_completion.d/ovs-appctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite
>  +	sed -i 's|ovs-vsctl-bashcomp\.bash|/etc/bash_completion.d/ovs-vsctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite
> ++	sed -i 's|EGREP=.*|EGREP='"'"'grep -E'"'"'|g' $(TEST_DEST)/tests/atlocal
> ++	sed -i 's|CFLAGS=.*|CFLAGS='"'"' '"'"'|g' $(TEST_DEST)/tests/atlocal
> -- 
> 2.34.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#8933): https://lists.yoctoproject.org/g/meta-virtualization/message/8933
> Mute This Topic: https://lists.yoctoproject.org/mt/109130169/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] 3+ messages in thread

end of thread, other threads:[~2024-11-02  4:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-21 11:23 [master][PATCH] openvswitch: fix ptest contains reference to TMPDIR [buildpaths] Bin Lan
2024-10-31  3:56 ` [meta-virtualization] " Bruce Ashfield
2024-11-02  4:05 ` 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.