All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2 1/2] apache2: stage apachectl
@ 2016-03-17 15:54 Ioan-Adrian Ratiu
  2016-03-17 15:54 ` [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe Ioan-Adrian Ratiu
  0 siblings, 1 reply; 7+ messages in thread
From: Ioan-Adrian Ratiu @ 2016-03-17 15:54 UTC (permalink / raw)
  To: openembedded-devel

Some apache module recipes like the newly introduced apache-websocket
also need apachectl at build in the sysroot besides apxs.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
---
 meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
index 597afe6..53d0564 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
@@ -113,6 +113,8 @@ SYSROOT_PREPROCESS_FUNCS += "apache_sysroot_preprocess"
 apache_sysroot_preprocess () {
     install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
     install -m 755 ${D}${bindir}/apxs ${SYSROOT_DESTDIR}${bindir_crossscripts}/
+    install -d ${SYSROOT_DESTDIR}${sbindir}/
+    install -m 755 ${D}${sbindir}/apachectl ${SYSROOT_DESTDIR}${sbindir}/
     sed -i 's!my $installbuilddir = .*!my $installbuilddir = "${STAGING_DIR_HOST}/${datadir}/${BPN}/build";!' ${SYSROOT_DESTDIR}${bindir_crossscripts}/apxs
     sed -i 's!my $libtool = .*!my $libtool = "${STAGING_BINDIR_CROSS}/${TARGET_PREFIX}libtool";!' ${SYSROOT_DESTDIR}${bindir_crossscripts}/apxs
 
-- 
2.7.3



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

end of thread, other threads:[~2016-03-18 11:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-17 15:54 [meta-oe][PATCH v2 1/2] apache2: stage apachectl Ioan-Adrian Ratiu
2016-03-17 15:54 ` [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe Ioan-Adrian Ratiu
2016-03-17 21:41   ` Martin Jansa
2016-03-17 21:48     ` Martin Jansa
2016-03-18  8:40     ` Ioan-Adrian Ratiu
2016-03-18 11:49       ` Martin Jansa
2016-03-18 11:53         ` Ioan-Adrian Ratiu

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.