Patchwork [V2,4/7] targetcontrol.py: Add a classmethod to get extra files needed by the target controllers

login
register
mail settings
Submitter Corneliu Stoicescu
Date June 6, 2014, 7:14 p.m.
Message ID <1402082078-10826-5-git-send-email-corneliux.stoicescu@intel.com>
Download mbox | patch
Permalink /patch/73443/
State Accepted
Commit a5aa889d63b9f076719166a3224153091d4ff9a0
Headers show

Comments

Corneliu Stoicescu - June 6, 2014, 7:14 p.m.
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>
---
 meta/lib/oeqa/targetcontrol.py | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index 866c414..1464bf4 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(' ')