diff options
| author | Awais Belal <awais_belal@mentor.com> | 2017-02-14 16:14:15 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-19 06:16:57 -0800 |
| commit | 35a79cc495413f2cebe08e566f68ffef116cd6a3 (patch) | |
| tree | c81ea0771d70c274874988f5fbdd0c35088c8d7b /scripts/lib/devtool/utilcmds.py | |
| parent | e98757e267389267d96778a1b443293eae12799e (diff) | |
| download | poky-35a79cc495413f2cebe08e566f68ffef116cd6a3.tar.gz | |
kernel-yocto.bbclass: ensure repatching when HEAD is checked out
In some cases it is seen that kernel_checkout and validate_branches are
run again in simultaneous builds. During do_patch the kgit-s2q mechanism
looks for a sentinel file inside the .git directory, finds a fence post
and starts picking up patches after that.
This can create trouble as validate_branches checks out the HEAD of the
branch and so the patches should be reapplied rather than skipped due to
finding of the fence post.
We can call kgit-s2q --clean to remove the sentinel file when the
branches are checked out.
(From OE-Core rev: d57aeafdd2b49010a9fa6d1cd9d10f3cfd5754a5)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/utilcmds.py')
0 files changed, 0 insertions, 0 deletions
