aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/unzip.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/unzip.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/unzip.go')
-rw-r--r--internal/rosa/unzip.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/rosa/unzip.go b/internal/rosa/unzip.go
index f6a65b82..b8fa3de3 100644
--- a/internal/rosa/unzip.go
+++ b/internal/rosa/unzip.go
@@ -11,10 +11,10 @@ func (t Toolchain) newUnzip() (pkg.Artifact, string) {
version = "6.0"
checksum = "fcqjB1IOVRNJ16K5gTGEDt3zCJDVBc7EDSra9w3H93stqkNwH1vaPQs_QGOpQZu1"
)
- return t.New("unzip-"+version, 0, []pkg.Artifact{
- t.Load(Make),
- t.Load(Coreutils),
- }, nil, nil, `
+ return t.New("unzip-"+version, 0, t.AppendPresets(nil,
+ Make,
+ Coreutils,
+ ), nil, nil, `
cd /usr/src/unzip/
unix/configure
make -f unix/Makefile generic1