| Summary: | Git configuration can break poky scripts | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | kratsg |
| Component: | Scripts and Tools | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED NOTABUG | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | ross.burton |
| Version: | 2.5 | ||
| Target Milestone: | 2.5 M3 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
kratsg
2018-01-02 20:42:19 UTC
We can't control this on the infrastructure side as far as I know. The end user can control this setting or the repository owner can add a .gitattributes file and set "text eol=lf". I'm moving this to where the repository owners will see it. Context: core.autocrlf=true tells git to force every text file to use Windows line endings, but on Linux shell scripts needs Linux line endings. Why do you have autocrlf=true set? Hi, sorry for late response. This was needed between we're running Vivado/SDK on Windows machines and yocto/bitbake on Linux machines -- and having to run version control on both. You can't clone linux based shell scripts with that setting and expect them to work and this isn't something we can fix, sorry. |