[oe] [PATCH] upower: handle and pack systemd unit

Andreas Müller schnitzeltony at googlemail.com
Fri Sep 9 23:32:49 UTC 2016


| WARNING: upower-0.99.4-r0 do_package: QA Issue: upower: Files/directories were installed but not shipped in any package:
|   /lib/systemd
|   /lib/systemd/system
|   /lib/systemd/system/upower.service

Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
---
 meta-oe/recipes-support/upower/upower_0.99.4.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-support/upower/upower_0.99.4.bb b/meta-oe/recipes-support/upower/upower_0.99.4.bb
index 770f333..5ac06dd 100644
--- a/meta-oe/recipes-support/upower/upower_0.99.4.bb
+++ b/meta-oe/recipes-support/upower/upower_0.99.4.bb
@@ -8,7 +8,7 @@ SRC_URI = "http://upower.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
 SRC_URI[md5sum] = "78800e1ac7f92b24aabdf433e38f75d2"
 SRC_URI[sha256sum] = "9ca325a6ccef505529b268ebbbd9becd0ce65a65f6ac7ee31e2e5b17648037b0"
 
-inherit autotools pkgconfig gettext gobject-introspection
+inherit autotools pkgconfig gettext gobject-introspection systemd
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[idevice] = "--with-idevice,--without-idevice,libimobiledevice libplist"
@@ -29,5 +29,6 @@ FILES_${PN} += "${datadir}/dbus-1/ \
 
 FILES_${PN}-dbg += "${base_libdir}/udev/.debug"
 
-
-
+SYSTEMD_SERVICE_${PN} = "upower.service"
+# dbus
+SYSTEMD_AUTO_ENABLE = "disable"
-- 
2.5.5




More information about the Openembedded-devel mailing list