[yocto] Dealing with line endings

keith.derrick keith.derrick at lge.com
Mon Jun 24 19:26:27 PDT 2019


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 line endings on unpack? I tried setting core.autocrlf in my global .gitconfig, but the fetcher/unpacker seems to ignore it.


Thanks

Keith

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190625/e593869f/attachment.html>


More information about the yocto mailing list