Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
5.18-rc4-1 & zfs support
Peter Jung5b41a99f090d
diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFOindex da80490a..b30981fa 100755--- a/linux-cachyos-rc/.SRCINFO+++ b/linux-cachyos-rc/.SRCINFO@@ -1,6 +1,6 @@-pkgbase = linux-cachyos-rc+pkgbase = linux-cachyos-cfs-ltopkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements- pkgver = 5.18.rc3+ pkgver = 5.18.rc4pkgrel = 1url = https://github.com/CachyOS/linux-cachyosarch = x86_64@@ -24,36 +24,38 @@ pkgbase = linux-cachyos-rcmakedepends = makemakedepends = patchoptions = !strip- source = https://github.com/torvalds/linux/archive/refs/tags/v5.18-rc3.tar.gz+ source = https://github.com/torvalds/linux/archive/refs/tags/v5.18-rc4.tar.gzsource = configsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-arch.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0002-bbr2.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0003-cachy.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0004-futex-winesync.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0005-cpu.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0006-fixes-miscellaneous.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0007-xanmod.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0008-MG-LRU.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0009-spf-lru.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0013-le9.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0014-ck-hrtimer.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0015-v4l2loopback.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0010-le9.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0011-ck-hrtimer.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0012-v4l2loopback.patchsource = auto-cpu-optimization.sh- sha256sums = b518d107c6727ebd74eb73b1fa36fbf5aee4e16ec39b1e3a0208ebb5fdd1127e+ sha256sums = 7c1cb399461d95e6dff3d18393a5d37c0a3e8398ea6e322b6f40d21cd2ba639esha256sums = 9d24d096ed1f0e51846d6539b19a54664eb6fb06909195a5d73abe7418755f96- sha256sums = cd3444ee9fd36a70dc7d6c07ad76695d850c0252484b39a1223bc85285c24a3a- sha256sums = ef442804222f7f304b2a25adf7b31281efefbf311e639f8bc12f937009648616- sha256sums = 7a8c85cf0404ddfcb7d550fed06be67b198cfcb16e8b3528078558839d10a847- sha256sums = 23dc79105259559e5f9cfabc1e7253656676b63ab8aac3764270ebd2d2550a9b- sha256sums = 8d8f532f7d8d39846497f7482d936ea418d0f6ee6cb357df6b661d2af4fce125- sha256sums = d67a8f5e40cbbf68a40864cfebdf05d2797956368f59e795f891b834249ef05f- sha256sums = e4498886b62b6f850e8f0e4d5c63bfb0370360fb129f842b622f2814d09297bc- sha256sums = cfdd0bdf7fd8ceed591d816ced8dbd904188dfae192de30cad275f274bd01942- sha256sums = a203a11158ffc5267c6573840f8ce79337300372510162c262c8ce4c6eda958b- sha256sums = 76ec10491eca7cbf8f296bd8c29689f724a940decf79227d29df4eec26a271b6- sha256sums = 0ac799bf7329ac61a4451ed4079b38dda088c450f5d72514fe977e770aa1d3e7+ sha256sums = d2de9722eb44869cccf2a78385a10945e8e4db4390691dad8d733faaf8f94df8+ sha256sums = 63d3e4de3b997a4b7223c64f1b7a13a00436d2b63739838e1572da39461fe62c+ sha256sums = e2278606afc0a963cb1367799a24b078cee7e595b869c2a5d44ec6d82ce27102+ sha256sums = 41ac1e8715bca945bbe2cc0e90ca33b73cce15cb9a40dabb371e7072d7967cf2+ sha256sums = c50f0c22b8833982f266ebdb35a975bee25fa76e3c2b937649f7ea45ef628753+ sha256sums = 6ce15ee1c2dae13a3412f99e9ff5584e3c2d5f2629e54bc7f86cd7c7945de8e7+ sha256sums = 5840a8c483169496d39a836565510929ad8c7da8dd5bd15d3413a599cc67df00+ sha256sums = 3d1b4d832301f313318b8ef8b2fa0dadc74ab901d99ac548de73eca4ba8a0623+ sha256sums = 11e87a71ef5073ce6e131104d8ac3e406d6d1901beb3aa161298668bcdef70fc+ sha256sums = 73423fe06254f0a8eeec648af604aea9dead3227e43ff8bfc6eaa14e40fc261f+ sha256sums = 57a721752f998e463929d1feae89c66b1d0a3efdb8ae29f6720606b0b6efb565+ sha256sums = 172ede998a4e883c0b8532dac5cb928f8f2d3ce682c32a5118f98c94280210bdsha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b-pkgname = linux-cachyos-rc+pkgname = linux-cachyos-cfs-ltopkgdesc = The Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements kernel and modulesdepends = coreutilsdepends = kmod@@ -65,6 +67,6 @@ pkgname = linux-cachyos-rcprovides = WIREGUARD-MODULEprovides = KSMBD-MODULE-pkgname = linux-cachyos-rc-headers+pkgname = linux-cachyos-cfs-lto-headerspkgdesc = Headers and scripts for building modules for the Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements kerneldepends = paholediff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 16d7a4ff..1f748332 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -100,14 +100,14 @@ _use_cfi=if [ -n "$_use_llvm_lto" ]; then- pkgbase=linux-cachyos-rc-lto+ pkgbase=linux-cachyos-rc-${_cpusched}-ltoelse- pkgbase=linux-cachyos-rc+ pkgbase=linux-cachyos-${_cpusched}-ltofi_major=5.18_minor=0#_minorc=$((_minor+1))-_rcver=rc3+_rcver=rc4pkgver=${_major}.${_rcver}#_stable=${_major}.${_minor}#_stable=${_major}@@ -123,43 +123,50 @@ license=('GPL2')options=('!strip')makedepends=('bc' 'texlive-latexextra' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz' 'zstd' 'xmlto' 'git' 'gcc' 'gcc-libs' 'glibc' 'binutils' 'make' 'patch')if [ -n "$_use_llvm_lto" ]; then- depends=(clang llvm lld python)+ depends+=(clang llvm lld python)+ BUILD_FLAGS=(+ LLVM=1+ LLVM_IAS=1+ )fi_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_major}"source=("https://github.com/torvalds/linux/archive/refs/tags/v${_major}-${_rcver}.tar.gz"- "config"- # "${_patchsource}/sched/0001-prjc.patch"- # "${_patchsource}/sched/0001-cacULE-5.18.patch"- # "${_patchsource}/sched/0001-bore-sched.patch"- # "${_patchsource}/sched/0001-tt.patch"+ "config")+ if [ "$_cpusched" = "bmq" ]; then+ source+=("${_patchsource}/sched/0001-prjc.patch")+ fi+ if [ "$_cpusched" = "pds" ]; then+ source+=("${_patchsource}/sched/0001-prjc.patch")+ fi+ if [ "$_cpusched" = "cacule" ]; then+ source+=("${_patchsource}/sched/0001-cacULE-5.18.patch")+ fi+ if [ "$_cpusched" = "cacule-rdb" ]; then+ source+=("${_patchsource}/sched/0001-cacULE-5.18.patch")+ fi+ if [ "$_cpusched" = "tt" ]; then+ source+=("${_patchsource}/sched/0001-tt.patch")+ fi+ if [ "$_cpusched" = "bore" ]; then+ source+=("${_patchsource}/sched/0001-bore-sched.patch")+ fi+source+=("${_patchsource}/0001-arch.patch""${_patchsource}/0002-bbr2.patch""${_patchsource}/0003-cachy.patch"- #"${_patchsource}/0004-clearlinux.patch"+ "${_patchsource}/0004-futex-winesync.patch""${_patchsource}/0005-cpu.patch""${_patchsource}/0006-fixes-miscellaneous.patch""${_patchsource}/0007-xanmod.patch""${_patchsource}/0008-MG-LRU.patch""${_patchsource}/0009-spf-lru.patch"- # "${_patchsource}/0010-uksm.patch"- # "${_patchsource}/0012-zen.patch"- "${_patchsource}/0013-le9.patch"- "${_patchsource}/0014-ck-hrtimer.patch"- "${_patchsource}/0015-v4l2loopback.patch"+ "${_patchsource}/0010-le9.patch"+ "${_patchsource}/0011-ck-hrtimer.patch"+ "${_patchsource}/0012-v4l2loopback.patch"# "${_patchsource}/misc/0001-amd-perf.patch""auto-cpu-optimization.sh")-#if [ -n "$_use_pgo" ]; then-# source+=("${_patchsource}/0001-PGO.patch")-#fi--if [ -n "$_use_llvm_lto" ]; then- BUILD_FLAGS=(- LLVM=1- LLVM_IAS=1- )-fiexport KBUILD_BUILD_HOST=archlinuxexport KBUILD_BUILD_USER=$pkgbase@@ -567,14 +574,15 @@ _package() {echo "Installing boot image..."# systemd expects to find the kernel here to allow hibernation# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344- install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"+ install -Dm644 "$(make ${BUILD_FLAGS[*]} -s image_name)" "$modulesdir/vmlinuz"# Used by mkinitcpio to name the kernelecho "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"echo "Installing modules..."- make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \+ make ${BUILD_FLAGS[*]} INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \DEPMOD=/doesnt/exist modules_install # Suppress depmod+# remove build and source linksrm "$modulesdir"/{source,build}}@@ -597,7 +605,7 @@ _package-headers() {install -Dt "$builddir/tools/objtool" tools/objtool/objtool# required when DEBUG_INFO_BTF_MODULES is enabled- install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids+ # install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfidsecho "Installing headers..."cp -t "$builddir" -a include@@ -653,8 +661,9 @@ _package-headers() {esacdone < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)- echo "Stripping vmlinux..."- strip -v $STRIP_STATIC "$builddir/vmlinux"+ # echo "Stripping vmlinux..."+ # strip -v $STRIP_STATIC "$builddir/vmlinux"+ # not needed since not building with CONFIG_DEBUG_INFO=yecho "Adding symlink..."mkdir -p "$pkgdir/usr/src"@@ -670,17 +679,18 @@ for _p in "${pkgname[@]}"; do}"done-sha256sums=('b518d107c6727ebd74eb73b1fa36fbf5aee4e16ec39b1e3a0208ebb5fdd1127e'+sha256sums=('7c1cb399461d95e6dff3d18393a5d37c0a3e8398ea6e322b6f40d21cd2ba639e''9d24d096ed1f0e51846d6539b19a54664eb6fb06909195a5d73abe7418755f96'- 'cd3444ee9fd36a70dc7d6c07ad76695d850c0252484b39a1223bc85285c24a3a'- 'ef442804222f7f304b2a25adf7b31281efefbf311e639f8bc12f937009648616'- '7a8c85cf0404ddfcb7d550fed06be67b198cfcb16e8b3528078558839d10a847'- '23dc79105259559e5f9cfabc1e7253656676b63ab8aac3764270ebd2d2550a9b'- '8d8f532f7d8d39846497f7482d936ea418d0f6ee6cb357df6b661d2af4fce125'- 'd67a8f5e40cbbf68a40864cfebdf05d2797956368f59e795f891b834249ef05f'- 'e4498886b62b6f850e8f0e4d5c63bfb0370360fb129f842b622f2814d09297bc'- 'cfdd0bdf7fd8ceed591d816ced8dbd904188dfae192de30cad275f274bd01942'- 'a203a11158ffc5267c6573840f8ce79337300372510162c262c8ce4c6eda958b'- '76ec10491eca7cbf8f296bd8c29689f724a940decf79227d29df4eec26a271b6'- '0ac799bf7329ac61a4451ed4079b38dda088c450f5d72514fe977e770aa1d3e7'+ 'd2de9722eb44869cccf2a78385a10945e8e4db4390691dad8d733faaf8f94df8'+ '63d3e4de3b997a4b7223c64f1b7a13a00436d2b63739838e1572da39461fe62c'+ 'e2278606afc0a963cb1367799a24b078cee7e595b869c2a5d44ec6d82ce27102'+ '41ac1e8715bca945bbe2cc0e90ca33b73cce15cb9a40dabb371e7072d7967cf2'+ 'c50f0c22b8833982f266ebdb35a975bee25fa76e3c2b937649f7ea45ef628753'+ '6ce15ee1c2dae13a3412f99e9ff5584e3c2d5f2629e54bc7f86cd7c7945de8e7'+ '5840a8c483169496d39a836565510929ad8c7da8dd5bd15d3413a599cc67df00'+ '3d1b4d832301f313318b8ef8b2fa0dadc74ab901d99ac548de73eca4ba8a0623'+ '11e87a71ef5073ce6e131104d8ac3e406d6d1901beb3aa161298668bcdef70fc'+ '73423fe06254f0a8eeec648af604aea9dead3227e43ff8bfc6eaa14e40fc261f'+ '57a721752f998e463929d1feae89c66b1d0a3efdb8ae29f6720606b0b6efb565'+ '172ede998a4e883c0b8532dac5cb928f8f2d3ce682c32a5118f98c94280210bd''65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')diff --git a/script.sh b/script.shindex 3c1485a4..596ae730 100755--- a/script.sh+++ b/script.sh@@ -10,7 +10,7 @@ dod=$(dirname $f)cd $d- docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache:/home/notroot/ccache pttrr/docker-makepkg+ docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel-kernel:/home/notroot/ccache pttrr/docker-makepkg-kerneldocker rm kernelbuildcd ..done@@ -26,7 +26,7 @@ dod=$(dirname $f)cd $d- docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache:/home/notroot/ccache pttrr/docker-makepkg-v3+ docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3docker rm kernelbuildcd ..done@@ -44,7 +44,7 @@ for f in $filesdod=$(dirname $f)cd $d- docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache:/home/notroot/ccache pttrr/docker-makepkg-v3+ docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3docker rm kernelbuildcd ..done@@ -59,7 +59,7 @@ for f in $filesdod=$(dirname $f)cd $d- docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache:/home/notroot/ccache pttrr/docker-makepkg+ docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kerneldocker rm kernelbuildcd ..donediff --git a/zfs/PKGBUILD b/zfs/PKGBUILDnew file mode 100644index 00000000..6f442230--- /dev/null+++ b/zfs/PKGBUILD@@ -0,0 +1,77 @@+# Maintainer: Peter Jung ptr1337 <[email protected]>+# Maintainer: Jan Houben <[email protected]>+# Contributor: Jesus Alvarez <jeezusjr at gmail dot com>+#+# This PKGBUILD was generated by the archzfs build scripts located at+#+# http://github.com/archzfs/archzfs+#+# ! WARNING !+#+# The archzfs packages are kernel modules, so these PKGBUILDS will only work with the kernel package they target. In this+# case, the archzfs-linux-lts packages will only work with the default linux-lts package! To have a single PKGBUILD target+# many kernels would make for a cluttered PKGBUILD!+#+# If you have a custom kernel, you will need to change things in the PKGBUILDS. If you would like to have AUR or archzfs repo+# packages for your favorite kernel package built using the archzfs build tools, submit a request in the Issue tracker on the+# archzfs github page.+#++### Selecting the CPU scheduler+# ATTENTION - one of seven predefined values should be selected!+# 'bmq' - select 'BitMap Queue CPU scheduler'+# 'pds' - select 'Priority and Deadline based Skip list multiple queue CPU scheduler'+# 'cacule' - select 'CacULE scheduler'+# 'cacule-rdb' - select 'CacULE-RDB scheduler'+# 'bore' - select 'Burst-Oriented Response Enhancer'+# 'tt' - select 'Task Type Scheduler by Hamad Marri'+# 'cfs' - select 'Completely Fair Scheduler'+_pkgcore=cachyos+# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".+# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."+# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."+_use_llvm_lto=++if [ -n "$_use_llvm_lto" ]; then+ _linuxpostfix=${_pkgcore}-lto+ export LLVM=1 LLVM_IAS=1 CC=clang LD=lld+else+ _linuxpostfix=${_pkgcore}+fi++_linuxprefix=linux-${_linuxpostfix}+_kernver=5.17.4-1+pkgname="${_linuxprefix}-zfs"+pkgver=2.1.4+pkgrel=1+pkgdesc='Kernel modules for the Zettabyte File System.'+arch=('x86_64' 'x86_64_v3')+url="http://zfsonlinux.org/"+license=("CDDL")+depends=("$_linuxprefix" "kmod" "zfs-utils=${pkgver}")+makedepends=("$_linuxprefix-headers")+provides=("zfs=$pkgver")+#groups=("$_linuxprefix-extramodules")+install=zfs.install+source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-${pkgver}/zfs-${pkgver}.tar.gz")+sha256sums=('3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6')++build() {+ cd "zfs-${pkgver}"+ ./autogen.sh+ sed -i "s|\$(uname -r)|${_kernver}-${_linuxpostfix}|g" configure+ ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --libdir=/usr/lib \+ --datadir=/usr/share --includedir=/usr/include --with-udevdir=/lib/udev \+ --libexecdir=/usr/lib/zfs-${pkgver} --with-config=kernel \+ --with-linux=/usr/lib/modules/${_kernver}-${_linuxpostfix}/build \+ --with-linux-obj=/usr/lib/modules/${_kernver}-${_linuxpostfix}/build+ make+}++package(){+ cd "zfs-${pkgver}"+ install -dm755 "$pkgdir/usr/lib/modules/${_kernver}-${_linuxpostfix}"+ install -m644 module/*/*.ko "$pkgdir/usr/lib/modules/${_kernver}-${_linuxpostfix}"+ find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} ++ sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_kernver}-${_linuxpostfix}'/" "$startdir/zfs.install"+}diff --git a/zfs/build-zfs.sh b/zfs/build-zfs.shnew file mode 100644index 00000000..97dc9918--- /dev/null+++ b/zfs/build-zfs.sh@@ -0,0 +1,17 @@+#!/usr/bin/env bash++find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos/_use_auto_optimization=cachyos-bore/" {}+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-bore/_use_auto_optimization=cachyos-bmq/" {}+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-bmq/_use_auto_optimization=cachyos-pds/" {}+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-pds/_use_auto_optimization=cachyos-tt/" {}+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-pds/_use_auto_optimization=cachyos-cacule/" {}+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3diff --git a/zfs/zfs.install b/zfs/zfs.installnew file mode 100644index 00000000..4cd4885c--- /dev/null+++ b/zfs/zfs.install@@ -0,0 +1,13 @@+EXTRAMODULES='${_kernver}-${_linuxpostfix}'++post_install() {+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)+}++post_upgrade() {+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)+}++post_remove() {+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)+}