[yocto] Fixing devtool issue with kernel bbhappen do_patch recipe

Yann CARDAILLAC yann.cardaillac at smile.fr
Mon Feb 11 00:35:56 PST 2019


Hi,

If you need more details about how to reproduce just ask, or if that's not
the correct mailing list, I'll be happy to post my message wherever it
belongs.

Regards,

Yann

On Mon, Jan 28, 2019 at 1:26 PM Yann CARDAILLAC <yann.cardaillac at smile.fr>
wrote:

> 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.cardaillac at 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
>


-- 
[image: SMILE] <http://www.smile.eu/>

20 rue des Jardins
92600 Asnières-sur-Seine
*Yann CARDAILLAC*
Ingénieur Linux Embarqué

[image: email] yann.cardaillac at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190211/f87a2893/attachment-0001.html>


More information about the yocto mailing list