diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-02 14:07:16 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-02 14:07:16 +0900 |
| commit | 04d9984da06a07c42416469474fd17b82ea7392e (patch) | |
| tree | 1505fdb1c33292db8b675f808e3c8421a49b5850 /internal/rosa/kmod.go | |
| parent | 145ccd1c9289d708c7d836cb4a3a98440ddf7fb3 (diff) | |
internal/rosa/meson: migrate to helper interface
This change also removes some unused options.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/kmod.go')
| -rw-r--r-- | internal/rosa/kmod.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/internal/rosa/kmod.go b/internal/rosa/kmod.go index 5be48732..4292bbf7 100644 --- a/internal/rosa/kmod.go +++ b/internal/rosa/kmod.go @@ -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 } |
