diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-20 08:07:43 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-20 08:15:23 +0900 |
| commit | b482fd4abfb2b3765b1791915b31067a0f80fec7 (patch) | |
| tree | 1cb95592a7f243aa920e3f4c497909a2e8bf9efb /internal/rosa/nss.go | |
| parent | 2e502ede6c885496f4ac0a480aa4e4e337c54f51 (diff) | |
internal/rosa: remove global handles
These no longer serve any purpose.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/nss.go')
| -rw-r--r-- | internal/rosa/nss.go | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/internal/rosa/nss.go b/internal/rosa/nss.go index cbb2bd5d..a9aed1c4 100644 --- a/internal/rosa/nss.go +++ b/internal/rosa/nss.go @@ -6,6 +6,12 @@ import ( "hakurei.app/internal/pkg" ) +var ( + unzip = H("unzip") + nss = H("nss") + nssCACert = H("nss-cacert") +) + func (t Toolchain) newNSS() (pkg.Artifact, string) { const ( version = "3.123.1" @@ -58,12 +64,12 @@ cp -r \ }, Perl, Python, - Unzip, - Gawk, - Coreutils, + unzip, + gawk, + coreutils, - Zlib, - KernelHeaders, + zlib, + kernelHeaders, ), version } func init() { @@ -73,7 +79,7 @@ func init() { Website: "https://firefox-source-docs.mozilla.org/security/nss/index.html", Dependencies: P{ - Zlib, + zlib, }, ID: 2503, @@ -82,9 +88,9 @@ func init() { func (t Toolchain) newNSSCACert() (pkg.Artifact, string) { return t.New("nss-cacert", 0, t.Append(nil, - Bash, + bash, - NSS, + nss, H("buildcatrust"), ), nil, nil, ` mkdir -p /work/system/etc/ssl/{certs/unbundled,certs/hashed,trust-source} |
