diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-12-13 20:07:10 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-14 12:25:07 +0000 |
commit | 797a8ee040e5f5eca1973478daddb3c18fef8c5e (patch) | |
tree | effad3a4734b4024ce230433ca9fd1edc151ca95 /bitbake/lib/bb/tinfoil.py | |
parent | 8f8a9ef66930ef8375050e80c751dab5ba024d83 (diff) | |
download | poky-797a8ee040e5f5eca1973478daddb3c18fef8c5e.tar.gz |
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 <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tinfoil.py')
-rw-r--r-- | bitbake/lib/bb/tinfoil.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: | |||
366 | def build_file(self, buildfile, task): | 366 | def build_file(self, buildfile, task): |
367 | """ | 367 | """ |
368 | Runs the specified task for just a single recipe (i.e. no dependencies). | 368 | Runs the specified task for just a single recipe (i.e. no dependencies). |
369 | This is equivalent to bitbake -b. | 369 | This is equivalent to bitbake -b, except no warning will be printed. |
370 | """ | 370 | """ |
371 | return self.run_command('buildFile', buildfile, task) | 371 | return self.run_command('buildFile', buildfile, task, True) |
372 | 372 | ||
373 | def shutdown(self): | 373 | def shutdown(self): |
374 | if self.server_connection: | 374 | if self.server_connection: |