diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-13 12:39:36 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-13 13:23:30 +0900 |
| commit | b3f0360a05230dde609eb0e3fabf3a5d92792f94 (patch) | |
| tree | eafdfd1b13b9de94e2d9c9bf6f19329949eb85d8 /internal/rosa/nss.go | |
| parent | 89389940363143dd32dfa9920eb34850de541472 (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/nss.go')
| -rw-r--r-- | internal/rosa/nss.go | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/internal/rosa/nss.go b/internal/rosa/nss.go index 36dbedaa..5f0a2339 100644 --- a/internal/rosa/nss.go +++ b/internal/rosa/nss.go @@ -75,6 +75,10 @@ func init() { Description: "Network Security Services", Website: "https://firefox-source-docs.mozilla.org/security/nss/index.html", + Dependencies: P{ + Zlib, + }, + ID: 2503, } } @@ -92,14 +96,12 @@ func init() { } func (t Toolchain) newNSSCACert() (pkg.Artifact, string) { - return t.New("nss-cacert", 0, []pkg.Artifact{ - t.Load(Zlib), - t.Load(Bash), - t.Load(Python), + return t.New("nss-cacert", 0, t.AppendPresets(nil, + Bash, - t.Load(NSS), - t.Load(buildcatrust), - }, nil, nil, ` + NSS, + buildcatrust, + ), nil, nil, ` mkdir -p /work/system/etc/ssl/{certs/unbundled,certs/hashed,trust-source} buildcatrust \ --certdata_input /system/nss/certdata.txt \ |
