[OE-core] How to fix warning: set SYSTEMD_PACKAGES as <existing-package>-systemd

Elvis Dowson elvis.dowson at gmail.com
Fri May 4 18:09:39 UTC 2012


Hi Koen,

On May 4, 2012, at 11:46 AM, Koen Kooi wrote:

> When doing things like that you need to bump PR and fixup all dependents like tasks and images to ensure upgrade paths.

I bumped the PR, but still get the warning message. How is the warning for this specific package linked to its dependents. The warning looks localized to the lighttpd_1.4.30.bb recipe.

If you can tell me how to fix it, I'll do it and send a patch.

diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.30.
index 3ae3867..71ae64c 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb
@@ -16,7 +16,7 @@ RDEPENDS_${PN} += " \
                lighttpd-module-staticfile \
 "
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.bz2 \
         file://index.html.lighttpd \
@@ -51,6 +51,9 @@ do_install_append() {
     install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html
 }
 
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "lighttpd.service"
+
 FILES_${PN} += "${sysconfdir} /www"
 
 CONFFILES_${PN} = "${sysconfdir}/lighttpd.conf"

Elvis Dowson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120504/2ba49389/attachment-0002.html>


More information about the Openembedded-core mailing list