Skip to content

conf/layer.conf: Export GOPROXY explicitly#87

Merged
otavio merged 2 commits into
shellhub-io:scarthgapfrom
lucianogdittgen:scarthgap
Jul 6, 2026
Merged

conf/layer.conf: Export GOPROXY explicitly#87
otavio merged 2 commits into
shellhub-io:scarthgapfrom
lucianogdittgen:scarthgap

Conversation

@lucianogdittgen

Copy link
Copy Markdown

Use BitBake's export varflag for GOPROXY instead of the inline
"export GOPROXY ??=" form.

The inline form breaks setup-environment's layer.conf parser with:

Syntax error (operator): export GOPROXY ??= "https://proxy.golang.org,direct"

This keeps the weak GOPROXY default while still exporting it to Go task
environments.

Tested with:

  • source setup-environment build
  • bitbake -p

otavio and others added 2 commits July 6, 2026 14:51
Bump the ShellHub agent to the v0.26.0 upstream release, updating
SRCREV to the commit tagged v0.26.0. The AgentVersion ldflag tracks
${PV} automatically and the LICENSE.md checksum is unchanged.

Note that v0.26.0 declares "go 1.25.8" in go.mod, so it requires a
Go toolchain >= 1.25.8 to build.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Use BitBake's export varflag for GOPROXY.

This keeps the weak default and avoids inline export syntax.

Tested with: source setup-environment build; bitbake -p.

Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
@otavio
otavio merged commit 7b42eb9 into shellhub-io:scarthgap Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants