]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
b4-wrapper-poky.py: send changes to .b4-config to the poky mailing list
authorQuentin Schulz <quentin.schulz@cherry.de>
Fri, 7 Feb 2025 11:46:35 +0000 (12:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Feb 2025 13:02:38 +0000 (13:02 +0000)
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 <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/b4-wrapper-poky.py

index 30a7b95ff3acda5e56cab8ad15a2713f11e2feec..ec6568eb9b7cab389178c08173a43caa2fc6bd48 100755 (executable)
@@ -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",
                     ],
         }