]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/controllers/masterimage: more robust master image startup
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 30 Apr 2014 12:32:00 +0000 (13:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Apr 2014 20:52:12 +0000 (21:52 +0100)
commitc2257fa50071e4704a8152b5f1d16f899b4bed98
tree148d07de8719c6a903d49f3c37f222bb2dafe339
parent5131094ad8f53b2052a97efd505e7a170d0c915d
oeqa/controllers/masterimage: more robust master image startup

Instead of powering up the target when the object is constructed, wait
until deploy is called. Then there are basically two different
scenarios:

a) The device is booted into the master image already, in which case
   we can just use it
b) The device is booted into another image or can't be contacted, in
   which case we need to power cycle it. Here we also now wait until it
   has booted up instead of trying to contact it immediately.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/controllers/masterimage.py