diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2022-04-04 22:31:34 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-04-06 20:25:34 -0400 |
commit | 98caf54fa5758228854742ddfb3f2d599f081b15 (patch) | |
tree | 0aca3e5de0c307199043bebe430b757b600cba06 /meta-oe/recipes-support | |
parent | 8253fe2a9cd699c1f3709c721b911b64c830e314 (diff) | |
download | meta-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.bb | 2 |
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 \ |