From: Robert Yang <liezhi.yang@windriver.com>
To: "Junxian.Xiao" <Junxian.Xiao@windriver.com>,
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] apache2: include .load files in modules.d
Date: Mon, 31 Oct 2016 16:58:49 +0800 [thread overview]
Message-ID: <5aab623a-7ac6-e8ae-e8d4-cd57332ceb35@windriver.com> (raw)
In-Reply-To: <1477903377-19397-1-git-send-email-Junxian.Xiao@windriver.com>
Hi Junxian,
This should go into openembedded-devel@lists.openembedded.org
Please see README in each layer of meta-openembedded to see how to
send patches.
// Robert
On 10/31/2016 04:42 PM, Junxian.Xiao wrote:
> Issue: LIN8-5007
>
> According to other linux distributes like ubuntu, the modules
> are usually included by 'LoadModule' command in *.load files
> in mods-enable directory, and *.conf files in this directory
> are for special configurations for each module.
>
> The stucture of the files tree is not the same in yocto, so this
> may be not the rule that we must follow. But still add *.load to
> be compatible with customer's normal usage habits.
>
> Signed-off-by: Junxian.Xiao <Junxian.Xiao@windriver.com>
> ---
> .../recipes-httpd/apache2/apache2_2.4.16.bb | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.16.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.16.bb
> index 4aacff1..52127c2 100644
> --- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.16.bb
> +++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.16.bb
> @@ -81,6 +81,7 @@ do_install_append() {
>
> # Ensure configuration file pulls in conf.d and modules.d
> printf "\nIncludeOptional ${sysconfdir}/${BPN}/conf.d/*.conf" >> ${D}/${sysconfdir}/${BPN}/httpd.conf
> + printf "\nIncludeOptional ${sysconfdir}/${BPN}/modules.d/*.load" >> ${D}/${sysconfdir}/${BPN}/httpd.conf
> printf "\nIncludeOptional ${sysconfdir}/${BPN}/modules.d/*.conf\n\n" >> ${D}/${sysconfdir}/${BPN}/httpd.conf
> # match with that is in init script
> printf "\nPidFile /run/httpd.pid" >> ${D}/${sysconfdir}/${BPN}/httpd.conf
>
next prev parent reply other threads:[~2016-10-31 8:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-31 8:42 [PATCH] apache2: include .load files in modules.d Junxian.Xiao
2016-10-31 8:42 ` [meta-webserver][PATCH] " Junxian.Xiao
2016-10-31 8:58 ` Robert Yang [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-10-31 8:47 [PATCH] " Junxian.Xiao
2016-11-01 18:12 ` Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5aab623a-7ac6-e8ae-e8d4-cd57332ceb35@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=Junxian.Xiao@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.