From 31a537d12441e4bcaf3f15e7807a5092ee61d7f1 Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Fri, 7 Feb 2025 12:46:35 +0100 Subject: [PATCH] b4-wrapper-poky.py: send changes to .b4-config to the poky mailing list Both OE-Core and poky git repos have a .b4-config, both at the same location and both different. Therefore, changes made to .b4-config for OE-Core need to be sent to the OE-Core mailing list and changes made to .b4-config for poky sent to the poky mailing list. Changes made to OE-Core's .b4-config can only be made from a vanilla OE-Core git repo, not from poky git repo. With the current content of OE-Core's .b4-config, b4-wrapper-poky.py script is NOT called to figure out where to send patches, b4 gets it from the hardcoded value in send-series-to. Thus, we can say that if b4-wrapper-poky.py detects changes for .b4-config, those changes are for poky since this script wouldn't be run by b4 outside of poky git repo. (From OE-Core rev: 1006712027812326fdeade2ab539b42bdf5b10e6) Signed-off-by: Quentin Schulz Signed-off-by: Richard Purdie --- scripts/b4-wrapper-poky.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/b4-wrapper-poky.py b/scripts/b4-wrapper-poky.py index 30a7b95ff3..ec6568eb9b 100755 --- a/scripts/b4-wrapper-poky.py +++ b/scripts/b4-wrapper-poky.py @@ -102,6 +102,11 @@ try: "meta-yocto-bsp/*", "README.hardware.md", "README.poky.md", + # scripts/b4-wrapper-poky.py is only run by b4 when in poky + # git repo. With that limitation, changes made to .b4-config + # can only be for poky's and not OE-Core's as only poky's is + # stored in poky git repo. + ".b4-config", ], }