Signed-off-by: Andreas Müller <schnitzelt...@googlemail.com>
---
 recipes-core/leds/led-config.bb |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/recipes-core/leds/led-config.bb b/recipes-core/leds/led-config.bb
index 81a65b8..958da42 100644
--- a/recipes-core/leds/led-config.bb
+++ b/recipes-core/leds/led-config.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
 inherit systemd
 
 #PV = "${DISTRO_VERSION}"
-PR = "r12"
+PR = "r13"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 SRC_URI = "file://led-config \
@@ -24,15 +24,11 @@ do_install () {
 
        install -m 0644 ${WORKDIR}/leds ${D}/${sysconfdir}/default/
        install -m 0755 ${WORKDIR}/led-config ${D}/${bindir}
-
-       install -d ${D}/${base_libdir}/systemd/system
-       install -m 0644 ${WORKDIR}/leds.service 
${D}/${base_libdir}/systemd/system/
 }
 
-SYSTEMD_PACKAGES = "${PN}"
-SYSTEMD_SERVICE_${PN} = "leds.service"
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE_${PN}-systemd = "leds.service"
 
-FILES_${PN} += "${base_libdir}/systemd"
 CONFFILES_${PN} += "${sysconfdir}/default/leds \
                    "
 
-- 
1.7.6.4


_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to