* [PATCH] [dylan] lighttpd: Enabling with systemd
@ 2013-06-19 16:49 Shakeel, Muhammad
2013-06-28 13:01 ` Shakeel, Muhammad
0 siblings, 1 reply; 6+ messages in thread
From: Shakeel, Muhammad @ 2013-06-19 16:49 UTC (permalink / raw)
To: openembedded-core
From: Muhammad Shakeel <muhammad_shakeel@mentor.com>
- Remove dependency on systemd layer
- Use lighttpd service type 'simple' rather than 'oneshot'
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@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.bz2 \
file://index.html.lighttpd \
file://lighttpd.conf \
file://lighttpd \
+ file://lighttpd.service \
"
SRC_URI[md5sum] = "8e2d4ae8e918d4de1aeb9842584d170b"
@@ -49,6 +53,11 @@ do_install_append() {
install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}
install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html
+
+ if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
+ install -d ${D}${systemd_unitdir}/system
+ install -m 0644 ${WORKDIR}/lighttpd.service ${D}${systemd_unitdir}/system
+ fi
}
FILES_${PN} += "${sysconfdir} /www"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] [dylan] lighttpd: Enabling with systemd
2013-06-19 16:49 [PATCH] [dylan] lighttpd: Enabling with systemd Shakeel, Muhammad
@ 2013-06-28 13:01 ` Shakeel, Muhammad
2013-06-28 16:00 ` Saul Wold
2013-07-01 10:02 ` Paul Eggleton
0 siblings, 2 replies; 6+ messages in thread
From: Shakeel, Muhammad @ 2013-06-28 13:01 UTC (permalink / raw)
To: Saul Wold [sgw@linux.intel.com]; +Cc: openembedded-core
Hi Saul,
Can you please comment on the status of this patch? Can it be merged to master branch only?
I guess Martin is also working to move systemd-layer related changes into oe-core for 1.5 release and he has already updated some recipes. Should I consult him regarding this kind of changes?
Best Regards,
Shakeel
________________________________________
From: Shakeel, Muhammad
Sent: Wednesday, June 19, 2013 9:49 PM
To: openembedded-core@lists.openembedded.org
Cc: Shakeel, Muhammad
Subject: [PATCH] [dylan] lighttpd: Enabling with systemd
From: Muhammad Shakeel <muhammad_shakeel@mentor.com>
- Remove dependency on systemd layer
- Use lighttpd service type 'simple' rather than 'oneshot'
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@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.bz2 \
file://index.html.lighttpd \
file://lighttpd.conf \
file://lighttpd \
+ file://lighttpd.service \
"
SRC_URI[md5sum] = "8e2d4ae8e918d4de1aeb9842584d170b"
@@ -49,6 +53,11 @@ do_install_append() {
install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}
install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html
+
+ if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
+ install -d ${D}${systemd_unitdir}/system
+ install -m 0644 ${WORKDIR}/lighttpd.service ${D}${systemd_unitdir}/system
+ fi
}
FILES_${PN} += "${sysconfdir} /www"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] [dylan] lighttpd: Enabling with systemd
2013-06-28 13:01 ` Shakeel, Muhammad
@ 2013-06-28 16:00 ` Saul Wold
2013-07-01 10:02 ` Paul Eggleton
1 sibling, 0 replies; 6+ messages in thread
From: Saul Wold @ 2013-06-28 16:00 UTC (permalink / raw)
To: Shakeel, Muhammad; +Cc: openembedded-core
On 06/28/2013 06:01 AM, Shakeel, Muhammad wrote:
> Hi Saul,
>
> Can you please comment on the status of this patch? Can it be merged to master branch only?
>
I am sorry, I thought this was a dylan only patch, if it's bound for
both, please don't tag it as a dylan patch.
I will review this today.
Sau!
> I guess Martin is also working to move systemd-layer related changes into oe-core for 1.5 release and he has already updated some recipes. Should I consult him regarding this kind of changes?
>
> Best Regards,
> Shakeel
> ________________________________________
> From: Shakeel, Muhammad
> Sent: Wednesday, June 19, 2013 9:49 PM
> To: openembedded-core@lists.openembedded.org
> Cc: Shakeel, Muhammad
> Subject: [PATCH] [dylan] lighttpd: Enabling with systemd
>
> From: Muhammad Shakeel <muhammad_shakeel@mentor.com>
>
> - Remove dependency on systemd layer
> - Use lighttpd service type 'simple' rather than 'oneshot'
>
> Signed-off-by: Muhammad Shakeel <muhammad_shakeel@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.bz2 \
> file://index.html.lighttpd \
> file://lighttpd.conf \
> file://lighttpd \
> + file://lighttpd.service \
> "
>
> SRC_URI[md5sum] = "8e2d4ae8e918d4de1aeb9842584d170b"
> @@ -49,6 +53,11 @@ do_install_append() {
> install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d
> install -m 0755 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}
> install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html
> +
> + if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
> + install -d ${D}${systemd_unitdir}/system
> + install -m 0644 ${WORKDIR}/lighttpd.service ${D}${systemd_unitdir}/system
> + fi
> }
>
> FILES_${PN} += "${sysconfdir} /www"
> --
> 1.7.9.5
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] [dylan] lighttpd: Enabling with systemd
2013-06-28 13:01 ` Shakeel, Muhammad
2013-06-28 16:00 ` Saul Wold
@ 2013-07-01 10:02 ` Paul Eggleton
2013-07-01 14:49 ` Shakeel, Muhammad
1 sibling, 1 reply; 6+ messages in thread
From: Paul Eggleton @ 2013-07-01 10:02 UTC (permalink / raw)
To: Shakeel, Muhammad; +Cc: openembedded-core
On Friday 28 June 2013 13:01:15 Shakeel, Muhammad wrote:
> From: Muhammad Shakeel <muhammad_shakeel@mentor.com>
>
> - Remove dependency on systemd layer
> - Use lighttpd service type 'simple' rather than 'oneshot'
>
> Signed-off-by: Muhammad Shakeel <muhammad_shakeel@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] [dylan] lighttpd: Enabling with systemd
2013-07-01 10:02 ` Paul Eggleton
@ 2013-07-01 14:49 ` Shakeel, Muhammad
2013-07-01 16:11 ` Burton, Ross
0 siblings, 1 reply; 6+ messages in thread
From: Shakeel, Muhammad @ 2013-07-01 14:49 UTC (permalink / raw)
To: Paul Eggleton; +Cc: openembedded-core
________________________________________
From: Paul Eggleton [paul.eggleton@linux.intel.com]
Sent: Monday, July 01, 2013 3:02 PM
To: Shakeel, Muhammad
Cc: Saul Wold; openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] [dylan] lighttpd: Enabling with systemd
On Friday 28 June 2013 13:01:15 Shakeel, Muhammad wrote:
> From: Muhammad Shakeel <muhammad_shakeel@mentor.com>
>
> + file://lighttpd.service \
> You've added a reference to lighttpd.service, but the patch does not add it.
That's what I realized right after sending this patch. I have already sent a v2.
Please ignore this and see: http://patches.openembedded.org/patch/52027/
Best Regards,
Shakeel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] [dylan] lighttpd: Enabling with systemd
2013-07-01 14:49 ` Shakeel, Muhammad
@ 2013-07-01 16:11 ` Burton, Ross
0 siblings, 0 replies; 6+ messages in thread
From: Burton, Ross @ 2013-07-01 16:11 UTC (permalink / raw)
To: Shakeel, Muhammad; +Cc: Paul Eggleton, openembedded-core
On 1 July 2013 15:49, Shakeel, Muhammad <Muhammad_Shakeel@mentor.com> wrote:
> That's what I realized right after sending this patch. I have already sent a v2.
> Please ignore this and see: http://patches.openembedded.org/patch/52027/
I missed that too, stupid mail client. :)
Can you run the service file through sed to remove the absolute paths,
so they respect ${sbindir} etc.
Ross
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-07-01 16:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-19 16:49 [PATCH] [dylan] lighttpd: Enabling with systemd Shakeel, Muhammad
2013-06-28 13:01 ` Shakeel, Muhammad
2013-06-28 16:00 ` Saul Wold
2013-07-01 10:02 ` Paul Eggleton
2013-07-01 14:49 ` Shakeel, Muhammad
2013-07-01 16:11 ` Burton, Ross
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.