devtool: include do_patch in SRCTREECOVEREDTASKS
PATCH 1/1 devtool: include do_patch in SRCTREECOVEREDTASKS
The external source of kernel has been patched during the construction of git repository. Include the do_patch task in the SRCTREECOVEREDTASKS.
scripts/lib/devtool/standard.py +1 -1
@@ -623,7 +623,7 @@ def modify(args, config, basepath, workspace): f.write('EXTERNALSRC_BUILD_pn-%s = "%s"\n' % (pn, srctree)) if bb.data.inherits_class('kernel', rd): - f.write('SRCTREECOVEREDTASKS = "do_validate_branches do_kernel_checkout do_fetch do_unpack"\n') + f.write('SRCTREECOVEREDTASKS = "do_validate_branches do_kernel_checkout do_fetch do_unpack do_patch"\n') if initial_rev: f.write('\n# initial_rev: %s\n' % initial_rev) for commit in commits:
Signature · 1 line
2.6.2
Quoted 15 lines · On Monday 02 November 2015 19:21:25 Tzu-Jung Lee wrote:
The external source of kernel has been patched during the construction of git repository. Include the
do_patchtask in the SRCTREECOVEREDTASKS.Signed-off-by Tzu-Jung Lee <[email protected]>(quoted diff) +0
-0
b/scripts/lib/devtool/standard.pyindex 7b87558..a7747c7 100644scripts/lib/devtool/standard.py +0
-1@@ -623,7 +623,7 @@ def modify(args, config, basepath, workspace): f.write('EXTERNALSRC_BUILD_pn-%s = "%s"\n' % (pn, srctree)) if bb.data.inherits_class('kernel', rd): - f.write('SRCTREECOVEREDTASKS = "do_validate_branches
Quoted 5 lines
do_kernel_checkoutdo_fetchdo_unpack"\n') +f.write('SRCTREECOVEREDTASKS = "do_validate_branches do_kernel_checkout do_fetch do_unpack do_patch"\n')ifinitial_rev:
f.write('\n# initial_rev: %s\n' % initial_rev)for commit in commits:
Seems reasonable - I can't think why this would have been legitimately excluded, though I wonder if it had something to do with linux-yocto vs. more traditional OE kernel recipes.
(This will get queued for master, but we can backport to jethro after the release.)
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre