From: Lukas Funke <[email protected]> This patch series adds a recipetool handler in order to create 'go' recipes. Each recipe contains a list of dependencies in their SRC_URI variable which are derived from the projects `go.mod` file. For each dependency the corresponding license file uri/hash is added.
The recipe may not work ad-hoc, but is a good starting point to create a working recipe and have a working offline-build. Lukas Funke (4): classes: go-vendor: Add go-vendor class selftest: recipetool: Add test for go recipe handler recipetool: Ignore *.go files while scanning for licenses recipetool: Add handler to create go recipes meta/classes/go-vendor.bbclass | 135 ++++ meta/lib/oeqa/selftest/cases/recipetool.py | 163 +++++ scripts/lib/recipetool/create.py | 2 +- scripts/lib/recipetool/create_go.py | 730 +++++++++++++++++++++ 4 files changed, 1029 insertions(+), 1 deletion(-) create mode 100644 meta/classes/go-vendor.bbclass create mode 100644 scripts/lib/recipetool/create_go.py -- 2.30.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#189326): https://lists.openembedded.org/g/openembedded-core/message/189326 Mute This Topic: https://lists.openembedded.org/mt/102017388/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
