Skip to contentSkip to conversation

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

PATCH New [email protected] 1 participant 1 message Jun 12, 2017

lore
Share & tools
lore
#0 lore raw

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

From: Leonardo Sandoval <[email protected]>

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

[YOCTO #10674]

---
 scripts/lib/bsp/kernel.py | 1 +
 1 file changed, 1 insertion(+)
scripts/lib/bsp/kernel.py +1 -0
index a3ee325a8f..32cab3b642 100644
@@ -331,6 +331,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()
Signature · 1 line
2.12.0