diff options
author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-09-15 11:02:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-09-18 11:16:35 +0100 |
commit | a690cfb9c05f4fbd23712e6eada376d023a6036a (patch) | |
tree | eb535a06624a4422d5bdfbe74670dae38625fa55 /meta/lib/patchtest/patchtest_patterns.py | |
parent | 4ea7a1d0cbfc77b3b8c6b34b5e3da49f97adf463 (diff) | |
download | poky-a690cfb9c05f4fbd23712e6eada376d023a6036a.tar.gz |
patchtest: apply patch in repo root
Patchtest tries to apply the received patch on the repository, without
specifying the directory, which means that the CWD is used. In case the
patch modifies a content in a different folder (e.g. the script is running
in ./meta, but the patch modifies ./meta-selftest), the patch will be skipped,
but git still returns 0, instead of complaining.
To avoid such false positives, specify the working directory for applying the
patch - the top of the repodir.
(From OE-Core rev: 6c7bb23b05ab613d5efe8e1378d7e1b1cc8cfc45)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/patchtest/patchtest_patterns.py')
0 files changed, 0 insertions, 0 deletions