aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2022-04-04 22:31:34 +0200
committerKhem Raj <raj.khem@gmail.com>2022-04-06 20:25:34 -0400
commit98caf54fa5758228854742ddfb3f2d599f081b15 (patch)
tree0aca3e5de0c307199043bebe430b757b600cba06 /meta-oe/recipes-support
parent8253fe2a9cd699c1f3709c721b911b64c830e314 (diff)
downloadmeta-openembedded-contrib-98caf54fa5758228854742ddfb3f2d599f081b15.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/upower/upower_0.99.17.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/upower/upower_0.99.17.bb b/meta-oe/recipes-support/upower/upower_0.99.17.bb
index d30fcea871..0572cc801b 100644
--- a/meta-oe/recipes-support/upower/upower_0.99.17.bb
+++ b/meta-oe/recipes-support/upower/upower_0.99.17.bb
@@ -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 \