From: Quentin Schulz Date: Fri, 7 Feb 2025 11:46:35 +0000 (+0100) Subject: b4-wrapper-poky.py: send changes to .b4-config to the poky mailing list X-Git-Tag: yocto-5.2~534 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1006712027812326fdeade2ab539b42bdf5b10e6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Quentin Schulz Signed-off-by: Richard Purdie --- diff --git a/scripts/b4-wrapper-poky.py b/scripts/b4-wrapper-poky.py index 30a7b95ff3a..ec6568eb9b7 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", ], }