]> code.ossystems Code Review - openembedded-core.git/commitdiff
targetcontrol.py: Add a classmethod to get extra files needed by the target controllers
authorCorneliu Stoicescu <corneliux.stoicescu@intel.com>
Fri, 6 Jun 2014 19:14:35 +0000 (22:14 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Jun 2014 11:51:52 +0000 (12:51 +0100)
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>
meta/lib/oeqa/targetcontrol.py

index 866c414c1b3023c6e8e18eeefc1c6333028ce8db..1464bf4047319c481a5174cc91e4f4cd6309d734 100644 (file)
@@ -72,6 +72,10 @@ class BaseTarget(object):
     def stop(self):
         pass
 
+    @classmethod
+    def get_extra_files(self):
+        return None
+
     @classmethod
     def get_image_fstype(self, d, image_fstypes=None):
         if not image_fstypes: