Kernel name: drop CachyOS release number (7.2.9-fiw-nyx-v1.2)
All checks were successful
Check and mirror to GitHub / checks (push) Successful in 19s
Check and mirror to GitHub / github-mirror (push) Successful in 7s

fiw-cachy-patch no longer rewrites CONFIG_LOCALVERSION; the name is only the
Linux version plus -fiw-nyx-v<N>.
This commit is contained in:
Fi3w0 2026-10-08 04:01:56 +02:00
parent 8c9322b4ed
commit 4118fbeb26
3 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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: <ver>-<cachyos release>-<rest>, 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}"

View file

@ -1,5 +1,7 @@
# uname -r → <linux version>-<cachyos release>-fiw-nyx-v<own version>
# e.g. 7.2.7-1-fiw-nyx-v1.1. fiw-cachy-patch updates the cachyos release number;
# bump v<N> 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 → <linux version>-fiw-nyx-v<own version>, 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<N> 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), "-<cachyos release>" dropped
# from the name from the next kernel build on.
CONFIG_LOCALVERSION="-fiw-nyx-v1.2"