]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
fetch2: export DBUS_SESSION_BUS_ADDRESS to support authentication agents
authorRoss Burton <ross.burton@intel.com>
Fri, 22 Apr 2016 15:56:50 +0000 (16:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Apr 2016 10:21:29 +0000 (11:21 +0100)
commit20ad1ea87712d042bd5d89ce1957793f7ff71da0
tree7e1034dc968bf9887771009332eb6a533e70912a
parentc07f65feaba50b13a38635bd8149804c823d446a
fetch2: export DBUS_SESSION_BUS_ADDRESS to support authentication agents

Some users may want to use authenticated SSH connections with credentials stored
in a keyring, such as gnome-keyring.  These typically need a DBus session bus
connection, so pass DBUS_SESSION_BUS_ADDRESS into the fetcher environment.

To avoid the user needing to set it in their local.conf (which wouldn't be
usable) or adding it to the environment-cleansing whitelist (which would
potentially impact builds) allow the variables being passed to the fetchers to
come from the data store (first) or the original environment (second).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/fetch2/__init__.py