[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH] apache2: include .load files in modules.d
From:       Robert Yang <liezhi.yang () windriver ! com>
Date:       2016-10-31 8:58:49
Message-ID: 5aab623a-7ac6-e8ae-e8d4-cd57332ceb35 () windriver ! com
[Download RAW message or body]


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
> 
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic