diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-21 19:47:55 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-21 19:55:38 +0900 |
| commit | 0914569e62089f2a9545243c529d238c662d4b04 (patch) | |
| tree | 0808b7c88d19f56ab89b7a47fa29aeaccb3ae77a /internal/rosa/hakurei.go | |
| parent | 25d9edfc64a6e75f9384999416afd4791b6a716d (diff) | |
internal/rosa/go: migrate to generic helper
The go toolchain predates all abstractions currently available. This migration causes rebuilds due to internal cleanups affecting the final build script.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/hakurei.go')
| -rw-r--r-- | internal/rosa/hakurei.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/rosa/hakurei.go b/internal/rosa/hakurei.go index 6fb289bd..ff56c1ea 100644 --- a/internal/rosa/hakurei.go +++ b/internal/rosa/hakurei.go @@ -18,7 +18,8 @@ go build -o /bin/hostname /usr/src/hostname/main.go return t.NewPackage(name, hakureiVersion, t.NewPatchedSource( "hakurei-"+hakureiVersion, hakureiSource, false, hakureiPatches..., ), &PackageAttr{ - Writable: true, + EnterSource: true, + Writable: true, Env: []string{ "CGO_ENABLED=1", "GOCACHE=/tmp/gocache", @@ -42,6 +43,7 @@ func main() { `), ))}, }, &GenericHelper{ + InPlace: true, Build: hostname + ` HAKUREI_VERSION='v` + hakureiVersion + `' ` + build, |
