Re: [yocto] Dealing with line endings

2019-06-25 Thread keith . derrick
Thanks Martin, that fixed it nicely. From: Martin Jansa Sent: Tuesday, June 25, 2019 12:30 AM To: Keith Derrick/LGEUS Advanced Platform(keith.derr...@lge.com) Cc: yocto@yoctoproject.org Subject: Re: [yocto] Dealing with line endings Hi Keith, you can use

Re: [yocto] Dealing with line endings

2019-06-25 Thread Martin Jansa
Hi Keith, you can use dos2unix.bbclass: http://git.openembedded.org/openembedded-core/tree/meta/classes/dos2unix.bbclass to convert them before do_patch. Cheers, On Tue, Jun 25, 2019 at 4:57 AM keith.derrick wrote: > I am using an upstream repo with a mix of line endings. > > > In my recipe,

[yocto] Dealing with line endings

2019-06-24 Thread keith . derrick
I am using an upstream repo with a mix of line endings. In my recipe, I'm applying a patch with normalized line endings, as our meta layer repo has a .gitattributes with "text=auto" set. The patch is failing due to "different line endings". Can the git fetcher be configured to normalize