Patchwork [meta-webserver] apache2: add apxs to SSTATE_SCAN_FILES

login
register
mail settings
Submitter rongqing.li@windriver.com
Date Sept. 10, 2013, 5:43 a.m.
Message ID <1378791798-724-1-git-send-email-rongqing.li@windriver.com>
Download mbox | patch
Permalink /patch/57723/
State Superseded, archived
Headers show

Comments

rongqing.li@windriver.com - Sept. 10, 2013, 5:43 a.m.
From: "Roy.Li" <rongqing.li@windriver.com>

apxs is installed under /usr/bin/crossscripts of sysroot, its hardcode paths
should be handled when store or extracts the sstate archives.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
 meta-webserver/recipes-httpd/apache2/apache2_2.4.6.bb |    2 ++
 1 file changed, 2 insertions(+)
Paul Eggleton - Sept. 10, 2013, 11:03 a.m.
Hi Ronqing,

On Tuesday 10 September 2013 13:43:18 rongqing.li@windriver.com wrote:
> From: "Roy.Li" <rongqing.li@windriver.com>
> 
> apxs is installed under /usr/bin/crossscripts of sysroot, its hardcode paths
> should be handled when store or extracts the sstate archives.
> 
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
>  meta-webserver/recipes-httpd/apache2/apache2_2.4.6.bb |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.6.bb
> b/meta-webserver/recipes-httpd/apache2/apache2_2.4.6.bb index
> f230f94..fa14b07 100644
> --- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.6.bb
> +++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.6.bb
> @@ -26,6 +26,8 @@ S = "${WORKDIR}/httpd-${PV}"
> 
>  inherit autotools update-rc.d
> 
> +SSTATE_SCAN_FILES = "*.la *-config *_config apxs"
> +
>  CFLAGS_append = " -DPATH_MAX=4096"
>  CFLAGS_prepend = "-I${STAGING_INCDIR}/openssl "
>  EXTRA_OECONF = "--enable-ssl \

I think this should really be SSTATE_SCAN_FILES += "apxs" to allow the base 
value to change in future (assuming that works - it should do).

Cheers,
Paul

Patch

diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.6.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.6.bb
index f230f94..fa14b07 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.6.bb
+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.6.bb
@@ -26,6 +26,8 @@  S = "${WORKDIR}/httpd-${PV}"
 
 inherit autotools update-rc.d
 
+SSTATE_SCAN_FILES = "*.la *-config *_config apxs"
+
 CFLAGS_append = " -DPATH_MAX=4096"
 CFLAGS_prepend = "-I${STAGING_INCDIR}/openssl "
 EXTRA_OECONF = "--enable-ssl \