aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/hakurei.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-03-13 12:39:36 +0900
committerOphestra <cat@gensokyo.uk>2026-03-13 13:23:30 +0900
commitb3f0360a05230dde609eb0e3fabf3a5d92792f94 (patch)
treeeafdfd1b13b9de94e2d9c9bf6f19329949eb85d8 /internal/rosa/hakurei.go
parent89389940363143dd32dfa9920eb34850de541472 (diff)
internal/rosa: populate runtime dependencies
This also removes manually resolved indirect dependencies. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/hakurei.go')
-rw-r--r--internal/rosa/hakurei.go34
1 files changed, 14 insertions, 20 deletions
diff --git a/internal/rosa/hakurei.go b/internal/rosa/hakurei.go
index b5847077..e1dabc25 100644
--- a/internal/rosa/hakurei.go
+++ b/internal/rosa/hakurei.go
@@ -15,29 +15,23 @@ echo
hostname = ""
}
- return t.New("hakurei"+suffix+"-"+hakureiVersion, 0, []pkg.Artifact{
- t.Load(Go),
+ return t.New("hakurei"+suffix+"-"+hakureiVersion, 0, t.AppendPresets(nil,
+ Go,
+ PkgConfig,
- t.Load(Gzip),
- t.Load(PkgConfig),
+ // dist tarball
+ Gzip,
- t.Load(KernelHeaders),
- t.Load(Libseccomp),
- t.Load(ACL),
- t.Load(Attr),
- t.Load(Fuse),
+ // statically linked
+ Libseccomp,
+ ACL,
+ Fuse,
+ XCB,
+ Wayland,
+ WaylandProtocols,
- t.Load(Xproto),
- t.Load(LibXau),
- t.Load(XCBProto),
- t.Load(XCB),
-
- t.Load(Libffi),
- t.Load(Libexpat),
- t.Load(Libxml2),
- t.Load(Wayland),
- t.Load(WaylandProtocols),
- }, nil, []string{
+ KernelHeaders,
+ ), nil, []string{
"CGO_ENABLED=1",
"GOCACHE=/tmp/gocache",
"CC=clang -O3 -Werror",