[oe-commits] [openembedded-core] 14/66: correct do_patch for kernel bbappend in sdk

git at git.openembedded.org git at git.openembedded.org
Tue May 21 23:32:37 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch thud
in repository openembedded-core.

commit e041812a84025a9ff9121efabc3805ff2dfe6375
Author: Yann CARDAILLAC <yann.cardaillac at smile.fr>
AuthorDate: Mon Mar 11 13:08:37 2019 +0100

    correct do_patch for kernel bbappend in sdk
    
    do_patch rule of SDK's workspace/appends/linux-*.bbhappend may fail if script are not written in Python
    
    that was the case with Phytec's BSP, the fix was to replace the do_patch rule with :
    
    do_patch[noexec]="1" when the file was generated in scripts/lib/devtool/standard.py
    
    Signed-off-by: Yann CARDAILLAC <yann.cardaillac at smile.fr>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 scripts/lib/devtool/standard.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index b7d4d47..ea09bbf 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -849,9 +849,7 @@ def modify(args, config, basepath, workspace):
             if bb.data.inherits_class('kernel', rd):
                 f.write('SRCTREECOVEREDTASKS = "do_validate_branches do_kernel_checkout '
                         'do_fetch do_unpack do_kernel_configme do_kernel_configcheck"\n')
-                f.write('\ndo_patch() {\n'
-                        '    :\n'
-                        '}\n')
+                f.write('\ndo_patch[noexec] = "1"\n')
                 f.write('\ndo_configure_append() {\n'
                         '    cp ${B}/.config ${S}/.config.baseline\n'
                         '    ln -sfT ${B}/.config ${S}/.config.new\n'

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list