Repository navigation
telegraf: Extract every Go module so licenses resolve on all arches - #145
Closed
lucianogdittgen wants to merge 1 commit into
Closed
lucianogdittgen wants to merge 1 commit into
lucianogdittgen wants to merge 1 commit into
Conversation
go install only extracts the modules in the target's build graph, so on arm the amd64-only klauspost/cpuid stayed zipped and do_populate_lic failed on its LICENSE. Unpack the remaining cached zips after compile (go mod download refuses offline: the fetcher writes no .info files). Tested with bitbake telegraf for qemuarm; the cpuid LICENSE is deployed. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
lucianogdittgen
force-pushed
the
fix/telegraf-module-licenses
branch
from
November 10, 2026 18:23
d31d9a6 to
d27f362
Compare
lucianogdittgen
marked this pull request as draft
November 10, 2026 18:31
lucianogdittgen
marked this pull request as ready for review
November 10, 2026 19:11
Merged
Contributor
Author
|
Closing: we decided to remove the telegraf recipe instead of fixing it. Superseded by #152. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
go installonly extracts the modules in the target's build graph. On arm, the amd64-only klauspost/cpuid module stayed zipped, sodo_populate_licfailed on its LICENSE. The recipe now unpacks the remaining cached zips after compile.go mod downloadis not an option: it refuses to run offline, because the fetcher writes no.infofiles.Tested:
bitbake telegraffor qemuarm, and the cpuid LICENSE is deployed.