dbus: explicitly disable systemd when no systemd
If systemd isn't a distro feature, explicitly disable the systemd unit path check as otherwise it will search the sysroot. (From OE-Core rev: 7c39f21cbde23ad678ddf54cb54b7f01e971a325) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
6f77bf093d
commit
c5b6125292
|
@ -68,8 +68,8 @@ pkg_postinst_dbus() {
|
|||
EXTRA_OECONF_X = "${@base_contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}"
|
||||
EXTRA_OECONF_X_class-native = "--without-x --disable-x11-autolaunch"
|
||||
# TODO: would like to --enable-systemd but that's a circular build-dependency
|
||||
# between systemd <->dbus
|
||||
EXTRA_OECONF_SYSTEMD = "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '', d)}"
|
||||
# between systemd<->dbus
|
||||
EXTRA_OECONF_SYSTEMD = "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}"
|
||||
|
||||
EXTRA_OECONF = "--disable-tests \
|
||||
--disable-checks \
|
||||
|
|
Loading…
Reference in New Issue