From 4118fbeb26cd2fad7955ffd3921f0f2a8c5b6625 Mon Sep 17 00:00:00 2001 From: Fi3w0 <98111375+Fi3w0@users.noreply.github.com> Date: Thu, 8 Oct 2026 04:01:56 +0200 Subject: [PATCH] Kernel name: drop CachyOS release number (7.2.9-fiw-nyx-v1.2) fiw-cachy-patch no longer rewrites CONFIG_LOCALVERSION; the name is only the Linux version plus -fiw-nyx-v. --- docs/setup.md | 2 +- optional/fiw-cachy-patch | 2 -- optional/kernel/config.d/99-name.config | 12 +++++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/setup.md b/docs/setup.md index 14e3290..b4c251f 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -73,7 +73,7 @@ Custom kernel installs with NVIDIA also check its modules against the selected custom kernel and binary fallback. Missing or outdated modules are compiled for each, and failures appear in the package report. -The custom kernel snapshot is CachyOS 7.2.9-2 (`7.2.9-2-fiw-nyx-v1.2`). Newer +The custom kernel uses the CachyOS 7.2.9-2 patch and is named `7.2.9-fiw-nyx-v1.2`. Newer 7.2.x point releases reuse that patch and config; the next series stays masked until the snapshot is updated. Fiw's Ryzen preset also installs `/etc/sysctl.d/70-fiw-dots-performance.conf` (CachyOS-style memory/network diff --git a/optional/fiw-cachy-patch b/optional/fiw-cachy-patch index a07887b..341bfce 100755 --- a/optional/fiw-cachy-patch +++ b/optional/fiw-cachy-patch @@ -40,8 +40,6 @@ mkdir -p "$patchdir" rm -f "$patchdir"/0100-cachyos-*.patch install -m644 "${tag}.patch" "$patchdir/0100-${tag}.patch" sed -i "s/^FIW_CACHY_PV=.*/FIW_CACHY_PV=${ver}/" "$guard" -# kernel name: --, only the release number changes -sed -i -E "s/^CONFIG_LOCALVERSION=\"-[0-9]+-/CONFIG_LOCALVERSION=\"-${tag##*-}-/" "$name_cfg" grep ^CONFIG_LOCALVERSION "$name_cfg" echo "Installed $patchdir/0100-${tag}.patch; guard now allows ${ver}." echo "Next: emerge -1 =sys-kernel/gentoo-kernel-${ver}" diff --git a/optional/kernel/config.d/99-name.config b/optional/kernel/config.d/99-name.config index 8d8d15a..286826e 100644 --- a/optional/kernel/config.d/99-name.config +++ b/optional/kernel/config.d/99-name.config @@ -1,5 +1,7 @@ -# uname -r → --fiw-nyx-v -# e.g. 7.2.7-1-fiw-nyx-v1.1. fiw-cachy-patch updates the cachyos release number; -# bump v by hand when you change your own tweaks. -# History: v1 = "-1-fiwzen-v1" (first build), v1.1 = renamed to fiw-nyx. v1.2 = 2026-10-08 rebuild (7.2.9-2). -CONFIG_LOCALVERSION="-2-fiw-nyx-v1.2" +# uname -r → -fiw-nyx-v, e.g. 7.2.9-fiw-nyx-v1.2. +# Only the kernel version plus Fiw's name: no CachyOS release number or other extras. +# Bump v by hand when you change your own tweaks. +# History: v1 = "-1-fiwzen-v1" (first build), v1.1 = renamed to fiw-nyx, +# v1.2 = 2026-10-08 rebuild (7.2.9, CachyOS 7.2.9-2 patch), "-" dropped +# from the name from the next kernel build on. +CONFIG_LOCALVERSION="-fiw-nyx-v1.2"