From 797a8ee040e5f5eca1973478daddb3c18fef8c5e Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Tue, 13 Dec 2016 20:07:10 +1300 Subject: bitbake: cooker: allow buildFile warning to be hidden programmatically If we want to use this function/command internally, we don't want this warning shown. (Bitbake rev: 5cfbb60833e7b12d698c1c2970c17ccf2a4971bf) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- bitbake/lib/bb/tinfoil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/bb/tinfoil.py') diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py index 720bf4b931..96275fde7f 100644 --- a/bitbake/lib/bb/tinfoil.py +++ b/bitbake/lib/bb/tinfoil.py @@ -366,9 +366,9 @@ class Tinfoil: def build_file(self, buildfile, task): """ Runs the specified task for just a single recipe (i.e. no dependencies). - This is equivalent to bitbake -b. + This is equivalent to bitbake -b, except no warning will be printed. """ - return self.run_command('buildFile', buildfile, task) + return self.run_command('buildFile', buildfile, task, True) def shutdown(self): if self.server_connection: -- cgit v1.2.3-54-g00ecf