On 06/16/2016 12:07 AM, Alexandru Moise wrote:
> autotools ends up stripping this binary which ends up causing
> QA Errors at do_package. Remove it.

I think you want to send this to openembedded-devel mailing list.

- armin

> Signed-off-by: Alexandru Moise <[email protected]>
> ---
>  ...squid-don-t-build-squid-conf-tests-binary.patch | 30 
> ++++++++++++++++++++++
>  .../recipes-daemons/squid/squid_3.5.7.bb           |  1 +
>  2 files changed, 31 insertions(+)
>  create mode 100644 
> meta-networking/recipes-daemons/squid/files/0001-squid-don-t-build-squid-conf-tests-binary.patch
> 
> diff --git 
> a/meta-networking/recipes-daemons/squid/files/0001-squid-don-t-build-squid-conf-tests-binary.patch
>  
> b/meta-networking/recipes-daemons/squid/files/0001-squid-don-t-build-squid-conf-tests-binary.patch
> new file mode 100644
> index 0000000..82cd0b0
> --- /dev/null
> +++ 
> b/meta-networking/recipes-daemons/squid/files/0001-squid-don-t-build-squid-conf-tests-binary.patch
> @@ -0,0 +1,30 @@
> +From 75f4072e6fc9704713629c87eec750ff708135c4 Mon Sep 17 00:00:00 2001
> +From: Alexandru Moise <[email protected]>
> +Date: Thu, 16 Jun 2016 10:01:41 +0300
> +Subject: [PATCH] squid: don't build squid-conf-tests binary
> +
> +autotools ends up stripping this binary which ends up causing
> +QA Errors at do_package. Remove it.
> +
> +Signed-off-by: Alexandru Moise <[email protected]>
> +---
> + test-suite/Makefile.am | 3 +--
> + 1 file changed, 1 insertion(+), 2 deletions(-)
> +
> +diff --git a/test-suite/Makefile.am b/test-suite/Makefile.am
> +index b9c412d..0471bf0 100644
> +--- a/test-suite/Makefile.am
> ++++ b/test-suite/Makefile.am
> +@@ -43,8 +43,7 @@ TESTS += debug \
> +     MemPoolTest\
> +     mem_node_test\
> +     mem_hdr_test\
> +-    $(ESI_TESTS) \
> +-    squid-conf-tests
> ++    $(ESI_TESTS)
> + 
> + ## Sort by alpha - any build failures are significant.
> + check_PROGRAMS += debug \
> +-- 
> +2.7.4
> +
> diff --git a/meta-networking/recipes-daemons/squid/squid_3.5.7.bb 
> b/meta-networking/recipes-daemons/squid/squid_3.5.7.bb
> index b571e29..2d243fb 100644
> --- a/meta-networking/recipes-daemons/squid/squid_3.5.7.bb
> +++ b/meta-networking/recipes-daemons/squid/squid_3.5.7.bb
> @@ -21,6 +21,7 @@ SRC_URI = 
> "http://www.squid-cache.org/Versions/v${MAJ_VER}/${MIN_VER}/${BPN}-${P
>             file://volatiles.03_squid \
>             file://CVE-2016-3947.patch \
>             file://CVE-2016-4553.patch \
> +           file://0001-squid-don-t-build-squid-conf-tests-binary.patch \
>  "
>  
>  LIC_FILES_CHKSUM = "file://COPYING;md5=c492e2d6d32ec5c1aad0e0609a141ce9 \
> 
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to