[oe-commits] Corneliu Stoicescu : targetcontrol.py: Add a classmethod to get extra files needed by the target controllers

git at git.openembedded.org git at git.openembedded.org
Fri Jun 13 11:52:42 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: fea627022473cfb73299d0988628962ad8e80f89
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=fea627022473cfb73299d0988628962ad8e80f89

Author: Corneliu Stoicescu <corneliux.stoicescu at intel.com>
Date:   Fri Jun  6 22:14:35 2014 +0300

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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/lib/oeqa/targetcontrol.py | 4 ++++
 1 file changed, 4 insertions(+)

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(' ')



More information about the Openembedded-commits mailing list