[oe-commits] [bitbake] 02/02: tinfoil: allow extra features to be passed to prepare
git at git.openembedded.org
git at git.openembedded.org
Sun Jun 4 22:18:14 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 2e35de1f19dc73a61a18a3eb186efede078d597d
Author: Andy Voltz <andy.voltz at timesys.com>
AuthorDate: Thu May 18 12:09:10 2017 -0400
tinfoil: allow extra features to be passed to prepare
Signed-off-by: Andy Voltz <andy.voltz at timesys.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/tinfoil.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/bb/tinfoil.py b/lib/bb/tinfoil.py
index 928333a..563c0c4 100644
--- a/lib/bb/tinfoil.py
+++ b/lib/bb/tinfoil.py
@@ -228,12 +228,15 @@ class Tinfoil:
def __exit__(self, type, value, traceback):
self.shutdown()
- def prepare(self, config_only=False, config_params=None, quiet=0):
+ def prepare(self, config_only=False, config_params=None, quiet=0, extra_features=None):
if self.tracking:
extrafeatures = [bb.cooker.CookerFeatures.BASEDATASTORE_TRACKING]
else:
extrafeatures = []
+ if extra_features:
+ extrafeatures += extra_features
+
if not config_params:
config_params = TinfoilConfigParameters(config_only=config_only, quiet=quiet)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list