summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/targetcontrol.py
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:52:21 +0100
commita5aa889d63b9f076719166a3224153091d4ff9a0 (patch)
treedc9708e4127aceac4b1ab3921db9b650de26d66c /meta/lib/oeqa/targetcontrol.py
parentac756309d797794c4c3b6074f6027a7bf9db2f4f (diff)
downloadpoky-a5aa889d63b9f076719166a3224153091d4ff9a0.tar.gz
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. (From OE-Core rev: fea627022473cfb73299d0988628962ad8e80f89) Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/targetcontrol.py')
-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):
73 pass 73 pass
74 74
75 @classmethod 75 @classmethod
76 def get_extra_files(self):
77 return None
78
79 @classmethod
76 def get_image_fstype(self, d, image_fstypes=None): 80 def get_image_fstype(self, d, image_fstypes=None):
77 if not image_fstypes: 81 if not image_fstypes:
78 image_fstypes = d.getVar('IMAGE_FSTYPES', True).split(' ') 82 image_fstypes = d.getVar('IMAGE_FSTYPES', True).split(' ')