]> code.ossystems Code Review - openembedded-core.git/commit
dbus: do not use systemctl from host for configure
authorAndy Kling <andreas.kling@peiker-cee.de>
Wed, 15 Feb 2017 06:15:16 +0000 (07:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Feb 2017 20:29:19 +0000 (12:29 -0800)
commite9471f8da3946439141ccdd8284200aa614df46c
tree017ab805c6bfb60ade352509539418fb564b8126
parent04b57e357bc016d174015a56077bb026ad9bb498
dbus: do not use systemctl from host for configure

  configure.ac from dbus uses $PATH to get the location of systemctl.
  If it is not found /usr/bin/systemctl is used. It is possible to
  override the location by passing SYSTEMCTL=[value] to configure.
  The value is used to replace @SYSTEMCTL@ in systemd-user/dbus.socket.in.
  dbus.socket sets the environment variable DBUS_SESSION_BUS_ADDRESS
  using systemctl.

  dbus does not depend on systemd-systemctl-native, so location from
  host installation or the default value gets used. Adding
  systemd-systemctl to the build would give path from sysroot.

  Forcing SYSTEMCTL=${base_bindir}/systemctl for target gives the
  correct path there and the environment variable is set after a user
  session was opened.

[YOCTO #11002]

Signed-off-by: Andy Kling <andreas.kling@peiker-cee.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/dbus/dbus_1.10.14.bb