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>
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"
sed -i -e 's: doc : :g' ${S}/Makefile.am
}
+
+RRECOMMENDS_${PN} += "pm-utils"
FILES_${PN} += "${datadir}/dbus-1/ \
${datadir}/polkit-1/ \
${base_libdir}/udev/* \