From patchwork Fri May 4 18:09:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: How to fix warning: set SYSTEMD_PACKAGES as -systemd Date: Fri, 04 May 2012 18:09:39 -0000 From: Elvis Dowson X-Patchwork-Id: 27091 Message-Id: To: Patches and discussions about the oe-core layer 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. Elvis Dowson 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"