Hi all, We found a possible bug with boucman_work as mentionned in the IRC.
It seems that when using the SDK there's an issue with the generated file workspace/appends/linux-yocto_4.18.bbappend (or equivalent depending on kernel and distro). In the do_patch rule, if some script are intended to be applied in another language than python it will fail. I had the case with my BSP (phytec). We had to change the rule with : do_patch[noexec] = "1" so that the rule is not executed which was what was probably intended with the former : do_patch() { : } Here's the patch we would use to fix that. It patch the scipt scripts/lib/devtool/standard.py so that it properly generate the bbappend file. Please, do not hesitate to give me any feedback on my patch. Regards, -- [image: SMILE] <http://www.smile.eu/> 20 rue des Jardins 92600 Asnières-sur-Seine *Yann CARDAILLAC* Ingénieur Linux Embarqué [image: email] yann.cardail...@smile.fr [image: url] http://www.smile.eu [image: Twitter] <https://twitter.com/GroupeSmile> [image: Facebook] <https://www.facebook.com/smileopensource> [image: LinkedIn] <https://www.linkedin.com/company/smile> [image: Github] <https://github.com/Smile-SA> [image: eco] Pour la planète, n'imprimez ce mail que si c'est nécessaire
From 3dd03d3a192e088f9db994439cc5511d67333be5 Mon Sep 17 00:00:00 2001 From: ycnakajsph <ycardail...@laposte.net> Date: Mon, 28 Jan 2019 12:30:03 +0100 Subject: [PATCH] correct do_patch for kernel bbappend in sdk --- 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' -- 2.7.4
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto