Golang Support in Yocto Project
summary
Yocto now analyzes go.mod and produces a working recipe, modules include and license files by using recipe-tool recognizes go.mod and a new go-vendoring class performs vendoring at fetch. The tool resolves import paths to VCS URLs, maps semantic versions to commits, and reproduces vendored sources offline so builds are deterministic (tested on large dependency trees — e.g. hundreds of modules). Limitations: private SSH repos need work, vendored repos in upstream must be removed for generation, and some devtool path issues remain.
AI-written summary · about
chapters (6)
- 0:00Introduction and agenda
- 2:30Building C/C++ in Yocto
- 9:26Challenges with Go in Yocto
- 15:33The recipe tool solution
- 24:04Future plans and outlook
- 25:39Questions and answers
related talks
38mUsing Go Modules in everyday life
16mTools for working with Go Code
29mA History of Dependency Management: 1.0 to Workspaces
46mYocto Project Extensible SDK: Simplifying the Workflow for Application Developers
57mExternal Pre-built Binary Toolchains
42mGo Module Hygiene: Keeping go.sum and go.mod in check
39mListening to your Users: Refactoring the Yocto Project
43mDeep dive into Go's build system
