upower: add pm-utils to RRECOMMENDS
authorKoen Kooi <koen@dominion.thruhere.net>
Thu, 12 Jan 2012 13:26:07 +0000 (14:26 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:17:55 +0000 (08:17 -0800)
This fixes:

dbus-daemon[207]: (upowerd:401): UPower-Linux-WARNING **: failed to run script: Failed to execute child process "/usr/bin/pm-is-supported" (No such file or directory)
dbus-daemon[207]: (upowerd:401): UPower-Linux-WARNING **: failed to run script: Failed to execute child process "/usr/bin/pm-is-supported" (No such file or directory)
dbus-daemon[207]: (upowerd:401): UPower-WARNING **: failed to run script: Failed to execute child process "/usr/sbin/pm-powersave" (No such file or directory)

(From meta-openembedded rev: f5a589a8f0284441bb8cb6c32eb7d13e9e33d820)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-support/upower/upower_0.9.14.bb

index 622d7ac..a5496d1 100644 (file)
@@ -2,6 +2,8 @@ DESCRIPTION = "UPower is an abstraction for enumerating power devices, listening
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=0de8fbf1d97a140d1d93b9f14dcfbf08"
 
+PR = "r1"
+
 DEPENDS = "libusb1 udev glib-2.0 dbus-glib polkit"
 
 SRC_URI = "http://upower.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
@@ -17,6 +19,8 @@ do_configure_prepend() {
        sed -i -e 's: doc : :g' ${S}/Makefile.am
 }      
 
+
+RRECOMMENDS_${PN} += "pm-utils"
 FILES_${PN} += "${datadir}/dbus-1/ \
                 ${datadir}/polkit-1/ \
                 ${base_libdir}/udev/* \