From b6cbd49d8cb56c0918eda2b676744a31e4142d58 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 1 Apr 2026 16:26:21 +0900 Subject: internal/rosa: p11-kit artifact Another package distributed in xz only. This is fetched from the git remote directly to avoid XZ Utils. Signed-off-by: Ophestra --- internal/rosa/git.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'internal/rosa/git.go') diff --git a/internal/rosa/git.go b/internal/rosa/git.go index 142cd341..65ebd97b 100644 --- a/internal/rosa/git.go +++ b/internal/rosa/git.go @@ -1,6 +1,10 @@ package rosa -import "hakurei.app/internal/pkg" +import ( + "path" + + "hakurei.app/internal/pkg" +) func (t Toolchain) newGit() (pkg.Artifact, string) { const ( @@ -90,7 +94,7 @@ func (t Toolchain) NewViaGit( name, url, rev string, checksum pkg.Checksum, ) pkg.Artifact { - return t.New(name+"-"+rev, 0, t.AppendPresets(nil, + return t.New(name+"-"+path.Base(rev), 0, t.AppendPresets(nil, NSSCACert, Git, ), &checksum, nil, ` -- cgit v1.3.1