]> code.ossystems Code Review - openembedded-core.git/commit
testimage.bbclass: enable ssh agent forwarding
authorAndré Draszik <git@andred.net>
Wed, 16 Oct 2019 09:18:21 +0000 (10:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 19 Oct 2019 17:13:38 +0000 (18:13 +0100)
commitd99617b8f2a9354b7357524fcd2eee16af0677b7
treed3bc9a3b112e53d87072a860b205d2d46cb8bb70
parent0ab7e3b573a58cc3a869ef33fd8737ca7fe04550
testimage.bbclass: enable ssh agent forwarding

Some targets might use ssh to do their power- or serial-
control. In that case, ssh might need access to the
ssh agent, or otherwise won't work.

So export it into the environment.

Note that the (old) oeqa/controllers/masterimage.py
tries to do that as well by exporting all of BB_ORIGENV
into the test environment. Here in testimage.bbclass we
are a bit more strict and only pass the ssh related
environment variables.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/testimage.bbclass