Skip to contentSkip to conversation

upower: handle and pack systemd unit

PATCH In review Andreas Müller 2 participants 2 messages Sep 9, 2016 – Sep 11, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 upower: handle and pack systemd unit

| 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
---
 meta-oe/recipes-support/upower/upower_0.99.4.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
meta-oe/recipes-support/upower/upower_0.99.4.bb +4 -3
index 770f333..5ac06dd 100644
@@ -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"
Signature · 1 line
2.5.5
#1 lore raw
Quoted 4 lines · Andreas Müller
| 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

Part of this was already resolved in:
commit 0a5c689b6823bbad0b535c98841f0f85b23db90f

Author: Jackie Huang <[email protected]>
Date:   Fri Sep 2 12:59:27 2016 +0800

upower: add systemd support

Please rebase and re-send if you care about SYSTEMD_AUTO_ENABLE

Quoted 36 lines
---
 meta-oe/recipes-support/upower/upower_0.99.4.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
meta-oe/recipes-support/upower/upower_0.99.4.bb +4 -3
index 770f333..5ac06dd 100644
@@ -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"
Signature · 7 lines
2.5.5

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]