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

Martin Jansa martin.jansa at gmail.com
Sun Sep 11 07:26:49 UTC 2016


On Sat, Sep 10, 2016 at 01:32:49AM +0200, Andreas Müller wrote:
> | 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 <jackie.huang at windriver.com>
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

> 
> 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
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160911/e6d28ece/attachment-0002.sig>


More information about the Openembedded-devel mailing list