UPower automatically detects location of udev-rules by asking udev's pkgconfig
variable 'udev_dir' and appending 'rules.d'. This does not work for non
systemd's udev:
| Files/directories were installed but not shipped in any package:
| /usr/rules.d
| /usr/rules.d/95-upower-hid.rules
| /usr/rules.d/95-upower-wup.rules
To avoid, set udevrulesdir explicitly for non-systemd builds.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Port to meson turned into total overhaul of recipe
Version 0.99.17
---------------
Released: 2022-03-09
Bug fixes:
- Fix FD handling issues that may cause lid to not be detected
Version 0.99.16
---------------
Released: 2022-02-23
Bug fixes:
- Silence unnecessary udev event warnings
- Increase test timeout (#171)
- Explicitly link with plist
- Fix UpClient reference leak
- Fix DisplayDevice state on battery hotplug
- Fix critical action to work after it was cancelled (#172)
Version 0.99.15
---------------
Released: 2022-02-09
Bug fixes:
- Various build fixes
- Update bluetooth device alias when it changes (#169)
No info for 0.99.14
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
After below commits to add polkit as a required
distro feature:
97a1a55 polkit: add polkit as a required distro feature
c049e02 polkit: inherit distro_features_check
Need to add REQUIRED_DISTRO_FEATURES for polkit to
fix below error for these packages which depend on
polkit:
$ bitbake upower
ERROR: Nothing PROVIDES 'polkit' (but /build/layers/meta-openembedded/meta-oe/recipes-support/upower/upower_0.99.7.bb DEPENDS on or otherwise requires it)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* inherit systemd
* Add PACKAGECONFIG for systemd and control
it based on DISTRO_FEATURES
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
fixes:
| configure: error: Package requirements (gudev-1.0 >= 147) were not met:
|
| No package 'gudev-1.0' found
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* This change is only aesthetic (unlike indentation in Python
tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
tabs is the need to update a lot of recipes). Lately this advice
was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
error prone when someone is not sure if e.g.
do_generate_toolchain_file() is Python or shell task and also allows
to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
potentially bad (shouldn't be used for indenting of multiline
variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
we're quite inconsistent wheater it's first character on line
under opening quote or under first non-whitespace character in
previous line.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
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)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>