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>
This commit is contained in:
Corneliu Stoicescu 2014-06-06 22:14:35 +03:00 committed by Richard Purdie
parent ac756309d7
commit a5aa889d63
1 changed files with 4 additions and 0 deletions

View 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: