aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/git.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-07-30 00:16:57 +0900
committerOphestra <cat@gensokyo.uk>2026-07-30 00:18:22 +0900
commit6487b41d922f56d46167802780fcde62d1f27095 (patch)
treea17e76fcb4cd790c3396a26960d45430672c0637 /internal/rosa/git.go
parent7908fb9583cb6af84345508390ec9ea9fc986763 (diff)
internal/rosa: remove legacy exec helper
This change also adds a fourth stage to the bootstrap machinery, offering more correct toolchain validation that works around LLVM dynamic linking flaws. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/git.go')
-rw-r--r--internal/rosa/git.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/rosa/git.go b/internal/rosa/git.go
index a1bd8e0d..bda380ce 100644
--- a/internal/rosa/git.go
+++ b/internal/rosa/git.go
@@ -17,14 +17,14 @@ func (t Toolchain) NewViaGit(
url, rev string,
checksum pkg.Checksum,
) pkg.Artifact {
- return t.NewPackage(strings.TrimSuffix(
+ return t.New(strings.TrimSuffix(
path.Base(url),
".git",
)+"-src", path.Base(rev), nil, &PackageAttr{
KnownChecksum: &checksum,
- Flag: THostNet,
- Paths: []pkg.ExecPath{resolvconf()},
+ HostNet: true,
+ Paths: []pkg.ExecPath{resolvconf()},
}, &GenericHelper{
Build: `
git \