Add x86_64-v* and zen4 variants for LTS kernel

This commit is contained in:
Lan Tian 2026-02-21 11:44:38 -08:00
parent e9fb1b4b36
commit a90a8098bd
No known key found for this signature in database
GPG Key ID: 04E66B6B25A0862B
2 changed files with 61 additions and 1 deletions

View File

@ -24,9 +24,17 @@ This repo provides the following kernel variants, consistent with the [upstream
├───linux-cachyos-latest-lto-x86_64-v3 ├───linux-cachyos-latest-lto-x86_64-v3
├───linux-cachyos-latest-lto-x86_64-v4 ├───linux-cachyos-latest-lto-x86_64-v4
├───linux-cachyos-latest-lto-zen4 ├───linux-cachyos-latest-lto-zen4
# LTS kernel, provide LTO variants # LTS kernel, provide all LTO/CPU arch variants
├───linux-cachyos-lts ├───linux-cachyos-lts
├───linux-cachyos-lts-x86_64-v2
├───linux-cachyos-lts-x86_64-v3
├───linux-cachyos-lts-x86_64-v4
├───linux-cachyos-lts-zen4
├───linux-cachyos-lts-lto ├───linux-cachyos-lts-lto
├───linux-cachyos-lts-lto-x86_64-v2
├───linux-cachyos-lts-lto-x86_64-v3
├───linux-cachyos-lts-lto-x86_64-v4
├───linux-cachyos-lts-lto-zen4
# Additional CachyOS kernel variants # Additional CachyOS kernel variants
├───linux-cachyos-bmq ├───linux-cachyos-bmq
├───linux-cachyos-bmq-lto ├───linux-cachyos-bmq-lto

View File

@ -83,12 +83,64 @@ builtins.listToAttrs (
inherit (linux) version src; inherit (linux) version src;
configVariant = "linux-cachyos-lts"; configVariant = "linux-cachyos-lts";
}) })
(mkCachyKernel {
pname = "linux-cachyos-lts-x86_64-v2";
inherit (linux) version src;
configVariant = "linux-cachyos-lts";
processorOpt = "x86_64-v2";
})
(mkCachyKernel {
pname = "linux-cachyos-lts-x86_64-v3";
inherit (linux) version src;
configVariant = "linux-cachyos-lts";
processorOpt = "x86_64-v3";
})
(mkCachyKernel {
pname = "linux-cachyos-lts-x86_64-v4";
inherit (linux) version src;
configVariant = "linux-cachyos-lts";
processorOpt = "x86_64-v4";
})
(mkCachyKernel {
pname = "linux-cachyos-lts-zen4";
inherit (linux) version src;
configVariant = "linux-cachyos-lts";
processorOpt = "zen4";
})
(mkCachyKernel { (mkCachyKernel {
pname = "linux-cachyos-lts-lto"; pname = "linux-cachyos-lts-lto";
inherit (linux) version src; inherit (linux) version src;
configVariant = "linux-cachyos-lts"; configVariant = "linux-cachyos-lts";
lto = "thin"; lto = "thin";
}) })
(mkCachyKernel {
pname = "linux-cachyos-lts-lto-x86_64-v2";
inherit (linux) version src;
configVariant = "linux-cachyos-lts";
lto = "thin";
processorOpt = "x86_64-v2";
})
(mkCachyKernel {
pname = "linux-cachyos-lts-lto-x86_64-v3";
inherit (linux) version src;
configVariant = "linux-cachyos-lts";
lto = "thin";
processorOpt = "x86_64-v3";
})
(mkCachyKernel {
pname = "linux-cachyos-lts-lto-x86_64-v4";
inherit (linux) version src;
configVariant = "linux-cachyos-lts";
lto = "thin";
processorOpt = "x86_64-v4";
})
(mkCachyKernel {
pname = "linux-cachyos-lts-lto-zen4";
inherit (linux) version src;
configVariant = "linux-cachyos-lts";
lto = "thin";
processorOpt = "zen4";
})
# Additional CachyOS provided variants # Additional CachyOS provided variants
(mkCachyKernel { (mkCachyKernel {