internal/rosa/meson: migrate to helper interface
All checks were successful
Test / Create distribution (push) Successful in 57s
Test / Sandbox (push) Successful in 2m57s
Test / Hakurei (push) Successful in 4m4s
Test / ShareFS (push) Successful in 4m21s
Test / Sandbox (race detector) (push) Successful in 5m15s
Test / Hakurei (race detector) (push) Successful in 6m12s
Test / Flake checks (push) Successful in 1m26s
All checks were successful
Test / Create distribution (push) Successful in 57s
Test / Sandbox (push) Successful in 2m57s
Test / Hakurei (push) Successful in 4m4s
Test / ShareFS (push) Successful in 4m21s
Test / Sandbox (race detector) (push) Successful in 5m15s
Test / Hakurei (race detector) (push) Successful in 6m12s
Test / Flake checks (push) Successful in 1m26s
This change also removes some unused options. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -7,13 +7,13 @@ func (t Toolchain) newKmod() pkg.Artifact {
|
||||
version = "34.2"
|
||||
checksum = "0K7POeTKxMhExsaTsnKAC6LUNsRSfe6sSZxWONPbOu-GI_pXOw3toU_BIoqfBhJV"
|
||||
)
|
||||
return t.NewViaMeson("kmod", version, pkg.NewHTTPGetTar(
|
||||
return t.NewPackage("kmod", version, pkg.NewHTTPGetTar(
|
||||
nil, "https://www.kernel.org/pub/linux/utils/kernel/"+
|
||||
"kmod/kmod-"+version+".tar.gz",
|
||||
mustDecode(checksum),
|
||||
pkg.TarGzip,
|
||||
), &MesonAttr{
|
||||
Configure: [][2]string{
|
||||
), nil, &MesonHelper{
|
||||
Setup: [][2]string{
|
||||
{"Dsysconfdir", "/system/etc"},
|
||||
{"Dbashcompletiondir", "no"},
|
||||
{"Dfishcompletiondir", "no"},
|
||||
@@ -22,12 +22,12 @@ func (t Toolchain) newKmod() pkg.Artifact {
|
||||
},
|
||||
|
||||
// makes assumptions about the running kernel
|
||||
SkipCheck: true,
|
||||
SkipTest: true,
|
||||
},
|
||||
t.Load(Zlib),
|
||||
t.Load(Zstd),
|
||||
t.Load(OpenSSL),
|
||||
t.Load(KernelHeaders),
|
||||
Zlib,
|
||||
Zstd,
|
||||
OpenSSL,
|
||||
KernelHeaders,
|
||||
)
|
||||
}
|
||||
func init() { artifactsF[Kmod] = Toolchain.newKmod }
|
||||
|
||||
Reference in New Issue
Block a user