Make Cachy KERNEL ON VOIDLINUX
| config | Añadir config | |
| README.md | Actualizar README.md | |
| screen.png | Subir archivos a "/" | |
| template | Actualizar template | |
Install easy
cd /tmp
wget https://github.com/javiercplus/kernel-neko-void/releases/download/7.1/neko-kernel-void-7.1.0-cachy-bore+.tar.gz
tar -xvf neko-kernel-void-7.1.0-cachy-bore+.tar.gz
sudo cp -rfv ./boot/* /boot/
sudo cp -rfv ./lib/modules/7.1.0-cachy-bore+ /lib/modules/
sudo depmod -a 7.1.0-cachy-bore+
sudo dracut --force /boot/initramfs-7.1.0-cachy-bore+.img 7.1.0-cachy-bore+
sudo grub-mkconfig -o /boot/grub/grub.cfg
COMPILE
# DEPENDENCIES
xbps-install -Syu --repository=https://repo-de.voidlinux.org/current/ base-devel git bc kmod elfutils-devel bash cpio xz lz4 zstd flex bison openssl-devel curl pahole tar python3 patch wget rsync -y
# CLONE REPO
git clone --depth 1 --branch v7.1 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux-src
cd linux-src
sed -i 's/^EXTRAVERSION =.*/EXTRAVERSION = -cachy/' Makefile
# Apply config
wget -O .config https://codeberg.org/javiercplus/cachy-void/raw/branch/main/config
wget -O fixdep-largefile.patch https://github.com/void-linux/void-packages/raw/refs/heads/master/srcpkgs/linux7.1/patches/fixdep-largefile.patch
patch -p1 -N --batch < fixdep-largefile.patch
make olddefconfig
# Compile
make -j$(nproc)
make -j$(nproc) bzImage modules
# Install
make install