mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-14 03:57:15 +00:00
power-profiles-daemon: Fix configure without systemd
The systemdsystemunitdir option defaults to auto, which makes meson look up systemd.pc. That only worked because systemd ends up in the sysroot through other dependencies, and it fails on sysvinit distros: meson.build:36:18: ERROR: Dependency "systemd" not found Pass the unit directory explicitly. The unit is installed unconditionally and systemd.bbclass removes it again on distros without systemd. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 file changed
+1
-1
@@ -14,7 +14,7 @@ inherit meson pkgconfig systemd features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "polkit"
|
||||
|
||||
EXTRA_OEMESON = "-Dtests=false"
|
||||
EXTRA_OEMESON = "-Dtests=false -Dsystemdsystemunitdir=${systemd_system_unitdir}"
|
||||
|
||||
SRCREV = "5b4994c8a91290481bef87a5bae95391d0ec677f"
|
||||
SRC_URI = "git://gitlab.freedesktop.org/upower/power-profiles-daemon;branch=main;protocol=https"
|
||||
|
||||
Reference in new issue
Block a user