mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
upower: fix location of udev-rules with sysvinit
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>
This commit is contained in:
@@ -25,7 +25,7 @@ inherit meson pkgconfig gtk-doc gettext gobject-introspection systemd
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
|
||||
PACKAGECONFIG[idevice] = "-Didevice=enabled,-Didevice=disabled,libimobiledevice libplist"
|
||||
PACKAGECONFIG[systemd] = "-Dsystemdsystemunitdir=${systemd_system_unitdir},-Dsystemdsystemunitdir=no,systemd"
|
||||
PACKAGECONFIG[systemd] = "-Dsystemdsystemunitdir=${systemd_system_unitdir},-Dsystemdsystemunitdir=no -Dudevrulesdir=${base_libdir}/udev/rules.d,systemd"
|
||||
|
||||
EXTRA_OEMESON = " \
|
||||
-Dos_backend=linux \
|
||||
|
||||
Reference in New Issue
Block a user