summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorneliu Stoicescu <corneliux.stoicescu@intel.com>2014-06-06 22:14:35 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-13 12:51:52 +0100
commitfea627022473cfb73299d0988628962ad8e80f89 (patch)
tree72d51ff9c525b09aae6b3a54d01bb4ebcdf6453d
parent7b81fce3a80f7a1b94015a1da95d2349dac577ab (diff)
downloadopenembedded-core-fea627022473cfb73299d0988628962ad8e80f89.tar.gz
openembedded-core-fea627022473cfb73299d0988628962ad8e80f89.tar.bz2
openembedded-core-fea627022473cfb73299d0988628962ad8e80f89.zip
targetcontrol.py: Add a classmethod to get extra files needed by the target controllers
YB: #6254 Add a new classmethod that can be used by outside scripts to get the extra files needed by the target controllers. An outside script can predict rootfs, manifest and kernel files needed by a target controller, but sometimes there are other files needed. Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/targetcontrol.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index 866c414c1b..1464bf4047 100644
--- a/meta/lib/oeqa/targetcontrol.py
+++ b/meta/lib/oeqa/targetcontrol.py
@@ -73,6 +73,10 @@ class BaseTarget(object):
pass
@classmethod
+ def get_extra_files(self):
+ return None
+
+ @classmethod
def get_image_fstype(self, d, image_fstypes=None):
if not image_fstypes:
image_fstypes = d.getVar('IMAGE_FSTYPES', True).split(' ')