]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/oe/patch: Make extractPatches() not extract ignored commits
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Mon, 19 Feb 2024 01:28:28 +0000 (02:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Feb 2024 16:02:20 +0000 (16:02 +0000)
commitc3d43de7e54189bf09fbe8e87ddb976e42ebf531
tree29d3831e63bb58dbffac65854ba913a5786ac27f
parent93cf900c697685d0749c3269806213f89fb6526e
lib/oe/patch: Make extractPatches() not extract ignored commits

If a commit is marked with "%% ignore" it means it is used by devtool to
keep track of changes to the source code that are not the result of
running do_patch(). These changes need to actually be ignored when
extracting the patches as they typically make no sense as actual patches
in a recipe.

This also adds a new test for oe-selftest that verifies that there are
no patches generated from ignored commits.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-selftest/recipes-extended/sysdig/sysdig-selftest/0055-Add-cstdint-for-uintXX_t-types.patch [new file with mode: 0644]
meta-selftest/recipes-extended/sysdig/sysdig-selftest/0099-cmake-Pass-PROBE_NAME-via-CFLAGS.patch [new file with mode: 0644]
meta-selftest/recipes-extended/sysdig/sysdig-selftest_0.28.0.bb [new file with mode: 0644]
meta/lib/oe/patch.py
meta/lib/oeqa/selftest/cases/devtool.py