internal/rosa/package: db
Test / Create distribution (push) Successful in 2m36s
Test / Sandbox (push) Successful in 2m46s
Test / ShareFS (push) Successful in 3m46s
Test / Hakurei (push) Successful in 3m55s
Test / Sandbox (race detector) (push) Successful in 5m20s
Test / Hakurei (race detector) (push) Successful in 6m33s
Test / Flake checks (push) Successful in 1m30s

For iproute2.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-25 10:31:45 +09:00
parent 7eebf49b98
commit 8ca70550ab
4 changed files with 44 additions and 2 deletions
+6 -2
View File
@@ -28,6 +28,8 @@ type MakeHelper struct {
SkipConfigure bool
// Alternative name for the configure script.
ConfigureName string
// Add autoconf arguments regardless of ConfigureName.
ForceAutoconf bool
// Flags passed to the configure script.
Configure []KV
// Host target triple, zero value is equivalent to the Rosa OS triple.
@@ -100,9 +102,11 @@ func (attr *MakeHelper) script(t Toolchain, name string) string {
if !attr.SkipConfigure {
configure = attr.ConfigureName
if configure == "" {
configure += `/usr/src/` + name + `/configure \
configure += `/usr/src/` + name + `/configure`
}
if attr.ForceAutoconf || attr.ConfigureName == "" {
configure += ` \
--prefix=/system`
host := `"${ROSA_TRIPLE}"`
if attr.Host != "" {
host = attr.Host