diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-20 02:25:41 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-20 02:25:41 +0900 |
| commit | 96abf266dd8bbbb4ea65c74a3f84f2461a6021a7 (patch) | |
| tree | df40c99715f061d15c9c32165bcbf9a3343c256f /internal/rosa/kmod.go | |
| parent | fcba32e9c4bc27a0cdcd1a78bbc1cf5ea799c18e (diff) | |
internal/rosa/package: migrate hwdata, kmod, libarchive
This removes a blank line in CTestCustom.cmake, causing a libarchive rebuild. Resulting IR is identical otherwise.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/kmod.go')
| -rw-r--r-- | internal/rosa/kmod.go | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/internal/rosa/kmod.go b/internal/rosa/kmod.go deleted file mode 100644 index 7166eceb..00000000 --- a/internal/rosa/kmod.go +++ /dev/null @@ -1,48 +0,0 @@ -package rosa - -import "hakurei.app/internal/pkg" - -func (t Toolchain) newKmod() (pkg.Artifact, string) { - const ( - version = "34.2" - checksum = "0K7POeTKxMhExsaTsnKAC6LUNsRSfe6sSZxWONPbOu-GI_pXOw3toU_BIoqfBhJV" - ) - return t.NewPackage("kmod", version, newTar( - "https://www.kernel.org/pub/linux/utils/kernel/"+ - "kmod/kmod-"+version+".tar.gz", - checksum, - pkg.TarGzip, - ), nil, &MesonHelper{ - Setup: []KV{ - {"Dmoduledir", "/system/lib/modules"}, - {"Dsysconfdir", "/system/etc"}, - {"Dbashcompletiondir", "no"}, - {"Dfishcompletiondir", "no"}, - {"Dxz", "disabled"}, - {"Dmanpages", "false"}, - }, - - // makes assumptions about the running kernel - SkipTest: true, - }, - Zlib, - Zstd, - OpenSSL, - KernelHeaders, - ), version -} -func init() { - native.mustRegister(Toolchain.newKmod, &Metadata{ - Name: "kmod", - Description: "a set of tools to handle common tasks with Linux kernel modules", - Website: "https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git", - - Dependencies: P{ - Zlib, - Zstd, - OpenSSL, - }, - - ID: 1517, - }) -} |
