bitbake: also hide os.fork() deprecation warning
PATCH 1/1 bitbake: also hide os.fork() deprecation warning
From: Peter Marko <[email protected]>
Copied from bitbake-server/worker/layers. This is seen also for bitbake command invocations.
Signed-off-by Peter Marko <[email protected]>
--- bin/bitbake | 1 + 1 file changed, 1 insertion(+)
bin/bitbake +1 -0
@@ -14,6 +14,7 @@ import os import sys import warnings warnings.simplefilter("default") +warnings.filterwarnings("ignore", category=DeprecationWarning, message=".*use.of.fork.*may.lead.to.deadlocks.in.the.child.*") sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'lib'))