[OE-core] [PATCH] [dylan] lighttpd: Enabling with systemd
Paul Eggleton
paul.eggleton at linux.intel.com
Mon Jul 1 10:02:28 UTC 2013
On Friday 28 June 2013 13:01:15 Shakeel, Muhammad wrote:
> From: Muhammad Shakeel <muhammad_shakeel at mentor.com>
>
> - Remove dependency on systemd layer
> - Use lighttpd service type 'simple' rather than 'oneshot'
>
> Signed-off-by: Muhammad Shakeel <muhammad_shakeel at mentor.com>
> ---
> meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb
> b/meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb index df6ce97..d73a76a
> 100644
> --- a/meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb
> +++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb
> @@ -5,7 +5,6 @@ BUGTRACKER =
> "http://redmine.lighttpd.net/projects/lighttpd/issues" LICENSE = "BSD"
> LIC_FILES_CHKSUM = "file://COPYING;md5=e4dac5c6ab169aa212feb5028853a579"
>
> -
> SECTION = "net"
> DEPENDS = "zlib libpcre"
> RDEPENDS_${PN} += " \
> @@ -18,10 +17,15 @@ RDEPENDS_${PN} += " \
>
> PR = "r0"
>
> +inherit systemd
> +
> +SYSTEMD_SERVICE_${PN} = "lighttpd.service"
> +
> SRC_URI =
> "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.bz
> 2 \ file://index.html.lighttpd \
> file://lighttpd.conf \
> file://lighttpd \
> + file://lighttpd.service \
You've added a reference to lighttpd.service, but the patch does not add it.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list