diff mbox series

[whinlatter,2.16,1/2] bitbake-layers: Also hide os.fork() deprecation warning

Message ID 72fd48b2010b5fd5e4110295adf5f24822267804.1767715521.git.yoann.congal@smile.fr
State Accepted, archived
Headers show
Series [whinlatter,2.16,1/2] bitbake-layers: Also hide os.fork() deprecation warning | expand

Commit Message

Yoann Congal Jan. 6, 2026, 4:16 p.m. UTC
From: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>

Import the deprecation warning hiding line from bitbake server/worker
code. Justification is still the same, we are being fairly careful here
and believe this code is safe.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8b02d65a6439b21d8bd5590dc0009f2cf29c1de8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 bin/bitbake-layers | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/bin/bitbake-layers b/bin/bitbake-layers
index c49a5f30e..37c196226 100755
--- a/bin/bitbake-layers
+++ b/bin/bitbake-layers
@@ -16,6 +16,7 @@  import sys
 import argparse
 import warnings
 warnings.simplefilter("default")
+warnings.filterwarnings("ignore", category=DeprecationWarning, message=".*use.of.fork.*may.lead.to.deadlocks.in.the.child.*")
 
 bindir = os.path.dirname(__file__)
 toolname = os.path.basename(__file__).split(".")[0]