scripts/lib/bsp/kernel.py: force patching when branch is machine branch is re-use

When a branch is re-used, the kernel tools turns off any patch pushing unless
'mark patching' is explicitly set.

[YOCTO #9120]

(From meta-yocto rev: 427f5473722e15e288cbce251a9ce18989c23548)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Leonardo Sandoval 2016-04-25 09:40:22 +00:00 committed by Richard Purdie
parent 3cdecde23d
commit 912e372bd3
1 changed files with 1 additions and 0 deletions

View File

@ -333,6 +333,7 @@ def write_patch_items(scripts_path, machine, patch_items):
patch list [${machine}-user-patches.scc].
"""
f = open_user_file(scripts_path, machine, machine+"-user-patches.scc", "w")
f.write("mark patching start\n")
for item in patch_items:
f.write("patch " + item + "\n")
f.close()