diff options
author | Corneliu Stoicescu <corneliux.stoicescu@intel.com> | 2014-06-23 15:59:44 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-24 19:54:10 +0100 |
commit | 7b453165ab347c8ab9da7a9981f6db971e99fcf4 (patch) | |
tree | e00a69a59714a247879d4ebe9f634a3643450c92 /scripts/native-intercept | |
parent | d7b3683834f9095d7c1144fda18b2a34b85cf339 (diff) | |
download | poky-7b453165ab347c8ab9da7a9981f6db971e99fcf4.tar.gz |
oeqa/targetcontrol.py: Separate the matching of supported image fstypes from the resulting value check.
Because we used a bb.fatal call inside the get_image_fstype classmethod, this caused problems when accessed without instantiating the object with a valid bb environment.
Separating the matching part of the classmethod(that is usable by outside scripts) from the check of the resulting value.
The matching is done within a new classmethod and the latter keeps the old method name and internal functionality, this way we don't have to change any other target controllers code.
(From OE-Core rev: 50ddd5d0149666ad60133d8eb6cc789c5b97e5e4)
Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/native-intercept')
0 files changed, 0 insertions, 0 deletions