Skip to content

Archlinux Kernel based on different schedulers and some other performance improvements.

5.16.2-1

P. Jungf17bcb66060f
diff --git a/README.md b/README.md
index ab71dcbe..2fb679d8 100644
--- a/README.md
+++ b/README.md
@@ -4,47 +4,47 @@
The CachyOS are improved kernels which improve the performance and other improvements. Following Scheduler are supported:
-- Standard Kernel Completely Fair Scheduler (CFS) - linux-cachyos
-- CacULE and CacULE-RDB created from Hamad Marri, maintained by CachyOS - linux-cachyos-cacule
-- BitMap Queue (BMQ) Alfred Chen Scheduler - linux-cachyos-bmq
-- Priority and Deadline based Skiplist multiple queue scheduler (PDS) - Alfred Chen Scheduler » linux-cachyos-pds
-- Task Type Scheduler by [Hamad Marri (TT)](https://github.com/hamadmarri/TT-CPU-Scheduler) - linux-cachyos-tt
-- BORE (Burst-Oriented Response Enhancer) CPU Scheduler by [firelzrd (BORE)](https://github.com/firelzrd/bore-scheduler) - linux-cachyos-bore
+- Standard Kernel Completely Fair Scheduler (CFS) - linux-cachyos
+- CacULE and CacULE-RDB created from Hamad Marri, maintained by CachyOS - linux-cachyos-cacule
+- BitMap Queue (BMQ) Alfred Chen Scheduler - linux-cachyos-bmq
+- Priority and Deadline based Skiplist multiple queue scheduler (PDS) - Alfred Chen Scheduler » linux-cachyos-pds
+- Task Type Scheduler by [Hamad Marri (TT)](https://github.com/hamadmarri/TT-CPU-Scheduler) - linux-cachyos-tt
+- BORE (Burst-Oriented Response Enhancer) CPU Scheduler by [firelzrd (BORE)](https://github.com/firelzrd/bore-scheduler) - linux-cachyos-bore
**All kernels are prebuilt in two different march versions (x86_64 and x86_64_v3) and also with the lto enabled kernels in the cachyos repo.**
## Features
-- Very customizable PKGBUILD with many features and improvements
-- 5 Different scheduler are supported, CacULE-,CFS-,tt-,bmq-,bore-, and pds scheduler
-- GCC/CLANG Optimization with automatically found cpu arch or also selectable cpu arch
-- Choose between LLVM/LTO or GCC
-- Choose between 500Hz, , 600 Hz ,750Hz, 1000Hz
-- Improved BFQ Scheduler
-- Back-ported patches from linux-next
-- General improved sysctl settings and upstream scheduler fixes
-- Latest LRU Patch-set
-- BBRv2 tcp_congestion_control
-- LLVM ThinLTO provided with \*-lto Kernel (in the cachyos-repo)
-- LRNG Framework (default enabled)
-- WINEFSYNC and the new futex wait v implementation (futex2) which will be upstream in 5.17
-- Android ANBOX patch-set
-- page-table-patch included
-- Latest & improved ZSTD patch-set
-- Some Security related patches. More here: [Fork-Brute](https://github.com/ptr1337/kernel-patches/blob/master/5.15/0001-security-patches.patch) [spectre](https://github.com/ptr1337/kernel-patches/blob/master/5.15/0001-spectre-patches.patch)
-- Latest BTRFS improvements & fixes
-- KSMBD Module for Samba3 Server
-- Using the latest MG-LRU v5 patch paired with and the new implemented damon.
-- AMD PSTATEv7 Driver
-- Clearlinux Patchset
-- Control Flow Integrity (CFI) slectable when using LLVM
-- experimental PGO building selectable (at the moment not working)
+- Very customizable PKGBUILD with many features and improvements
+- 5 Different scheduler are supported, CacULE-,CFS-,tt-,bmq-,bore-, and pds scheduler
+- GCC/CLANG Optimization with automatically found cpu arch or also selectable cpu arch
+- Choose between LLVM/LTO or GCC
+- Choose between 500Hz, , 600 Hz ,750Hz, 1000Hz
+- Improved BFQ Scheduler
+- Back-ported patches from linux-next
+- General improved sysctl settings and upstream scheduler fixes
+- Latest LRU Patch-set
+- BBRv2 tcp_congestion_control
+- LLVM ThinLTO provided with \*-lto Kernel (in the cachyos-repo)
+- LRNG Framework (default enabled)
+- WINEFSYNC and the new futex wait v implementation (futex2) which will be upstream in 5.17
+- Android ANBOX patch-set
+- page-table-patch included
+- Latest & improved ZSTD patch-set
+- Some Security related patches. More here: [Fork-Brute](https://github.com/ptr1337/kernel-patches/blob/master/5.15/0001-security-patches.patch) [spectre](https://github.com/ptr1337/kernel-patches/blob/master/5.15/0001-spectre-patches.patch)
+- Latest BTRFS improvements & fixes
+- KSMBD Module for Samba3 Server
+- Using the latest MG-LRU v5 patch paired with and the new implemented damon.
+- AMD PSTATEv7 Driver
+- Clearlinux Patchset
+- Control Flow Integrity (CFI) slectable when using LLVM
+- experimental PGO building selectable (at the moment not working)
## Other distros
-- First I will release every kernel update with a complete patch for every scheduler and their config.
-- Next I will implement a building system so it is possible to build the kernel for several distros.
-- Maybe I will provide some releases for debian based distros.
+- First I will release every kernel update with a complete patch for every scheduler and their config.
+- Next I will implement a building system so it is possible to build the kernel for several distros.
+- Maybe I will provide some releases for debian based distros.
## Some Tips & Tricks
@@ -85,7 +85,7 @@ You can tune the scheduler by setting these sysctl values
cd repo
sudo ./cachyos-repo.sh
-* * *
+---
\--
@@ -119,7 +119,7 @@ You can tune the scheduler by setting these sysctl values
Include = /etc/pacman.d/cachyos-mirrorlist
``\`
-* * *
+---
This script will also backup your old pacman.conf.
diff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFO
index fb516480..c996fca4 100644
--- a/linux-bore/.SRCINFO
+++ b/linux-bore/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements
- pkgver = 5.16.1
+ pkgver = 5.16.2
pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
@@ -19,7 +19,7 @@ pkgbase = linux-bore
makedepends = tar
makedepends = xz
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.1.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.2.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/sched/0001-bore-sched.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lru-patches.patch
@@ -32,11 +32,11 @@ pkgbase = linux-bore
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-bfq-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-btrfs.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cfi.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-xfs-ext4-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lqx-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-net-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pf-patches.patch
@@ -45,15 +45,14 @@ pkgbase = linux-bore
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-ksmbd.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zstd-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0002-mm-next.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0001-mm-next.patch
source = auto-cpu-optimization.sh
- md5sums = 121e4f65cf16ff76527020ea596fa431
+ md5sums = fd00badc3b53d42da3d84a7cf6f53f17
md5sums = 6048a8eb052a7b2a22b4ab159278b903
md5sums = 1fb4de64e7b59b67afecc7b71b951576
md5sums = 76b9d9fa00184d10e7949bb948ca846d
md5sums = 3d8d1eeebba7d038f6d890619233e605
- md5sums = d6feae0f2dd1b24a853d335da003cb51
+ md5sums = 54892e41c11a34bf9a348e5653d79796
md5sums = 194c8e20ad30973c32159cb23f3be4c9
md5sums = 2faaa79055263c1cdeeaa2896e641696
md5sums = 80e419d6847d4122a23a141fd3a40e52
@@ -61,21 +60,20 @@ pkgbase = linux-bore
md5sums = b5b3d9d1cefc3955a82ec895f891abf3
md5sums = e9dff9b551b8fa7c0b47ae5ac0b16365
md5sums = 9f86c3b9e6271cfc4440864a6857b256
+ md5sums = 0a353926bf4a790374e0f946a7039b40
md5sums = d4c38ce51fb9a69aa92ad9b9e0199122
md5sums = a687c26c262ccb9ad7cb54697a1476bc
- md5sums = 2249b7ca0a7dfb0b2f835a8cc4058f1e
+ md5sums = a35a6dea9bc12029b3a837d86d4b842a
md5sums = 80920e501b9b87bfe587edff445e6efe
- md5sums = 231fa80a33e7a926ba832d3bd66d2ce6
md5sums = bf010dff1d7a48191d491eba2dde1227
- md5sums = b7867c9203f9f1ec1e3d6648a4659624
+ md5sums = 34a583709ee18ad075f497a1733aa8db
md5sums = be1e00d93e9c2ba91ee6017b82e64194
md5sums = 28dcc1fe3029c6c316773bbcbe82954d
- md5sums = 0714c9817397ac7568afc3e327a20ddd
+ md5sums = 8fa4524671e6901bbdb47aaf8ecc0de8
md5sums = 12ad5085b7f01793980f137f2c9451cb
md5sums = 167a4267269e6a709c54e7b9ea8bf8d5
md5sums = bf58290793d3a095ef95fb1fac2de89a
- md5sums = cb9384ce179d08be6c90df6d0a0977a1
- md5sums = 1613d4689c58d19417a9cd7177f6454b
+ md5sums = 6bb03b7a1b9207aaf77fb886d42bab74
md5sums = 21c98f19e883879dd3336c1fa143fd31
pkgname = linux-bore
@@ -90,6 +88,7 @@ pkgname = linux-bore
provides = WIREGUARD-MODULE
pkgname = linux-bore-headers
- pkgdesc = Headers and scripts for building modules for the Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements
- depends = linux-bore=5.16.1
+ pkgdesc = Headers and scripts for building modules for the Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements kernel
depends = pahole
+
+pkgname = linux-bore-docs
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILD
index 9f2c966a..0ccf0486 100644
--- a/linux-bore/PKGBUILD
+++ b/linux-bore/PKGBUILD
@@ -122,7 +122,7 @@ else
pkgbase=linux-bore
fi
_major=5.16
-_minor=1
+_minor=2
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -143,14 +143,11 @@ makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
if [ -n "$_use_llvm_lto" ]; then
depends=(clang llvm lld python)
fi
-if [ -n "$_use_llvm_lto" ]; then
- makedepends+=(clang llvm lld python)
-fi
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16"
source=(
"https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"
"config"
- # "${_patchsource}/sched/0001-pjrc.patch" ## not released for 5.16 right now
+ # "${_patchsource}/sched/0001-pjrc.patch"
# "${_patchsource}/sched/0001-cacULE-5.16-full.patch"
"${_patchsource}/sched/0001-bore-sched.patch"
# "${_patchsource}/sched/0001-tt.patch"
@@ -164,12 +161,11 @@ source=(
"${_patchsource}/0001-bfq-patches.patch"
"${_patchsource}/0001-btrfs.patch"
"${_patchsource}/0001-lrng.patch"
-# "${_patchsource}/0001-cfi.patch"
+ "${_patchsource}/0001-cfi.patch"
"${_patchsource}/0001-cpu.patch"
"${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/0001-f2fs-xfs-ext4-patches.patch"
"${_patchsource}/0001-misc.patch"
- "${_patchsource}/0001-lqx-patches.patch"
"${_patchsource}/0001-net-patches.patch"
"${_patchsource}/0001-fixes-miscellaneous.patch"
"${_patchsource}/0001-pf-patches.patch"
@@ -179,8 +175,7 @@ source=(
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-zstd-patches.patch"
# "${_patchsource}/0001-zen-patches.patch"
- "${_patchsource}/0001-v4l2loopback.patch"
- "${_patchsource}/next/0002-mm-next.patch"
+ "${_patchsource}/next/0001-mm-next.patch"
# "${_patchsource}/0001-FG-KASLR.patch"
"auto-cpu-optimization.sh"
)
@@ -546,7 +541,7 @@ build() {
_package() {
pkgdesc="The $pkgdesc kernel and modules"
- depends=('coreutils' 'kmod' 'initramfs')
+ depends=(coreutils kmod initramfs)
optdepends=('crda: to set the correct wireless channels of your country'
'linux-firmware: firmware images needed for some devices'
'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
@@ -573,8 +568,9 @@ _package() {
}
_package-headers() {
- pkgdesc="Headers and scripts for building modules for the ${pkgdesc}"
- depends=("${pkgbase}=${pkgver}" "pahole")
+ pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
+ depends=(pahole)
+
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
@@ -653,21 +649,20 @@ _package-headers() {
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
}
-pkgname=("$pkgbase" "$pkgbase-headers")
+pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
for _p in "${pkgname[@]}"; do
eval "package_$_p() {
- $(declare -f "_package${_p#$pkgbase}")
- _package${_p#$pkgbase}
+ $(declare -f "_package${_p#$pkgbase}")
+ _package${_p#$pkgbase}
}"
done
-
-md5sums=('121e4f65cf16ff76527020ea596fa431'
+md5sums=('fd00badc3b53d42da3d84a7cf6f53f17'
'6048a8eb052a7b2a22b4ab159278b903'
'1fb4de64e7b59b67afecc7b71b951576'
'76b9d9fa00184d10e7949bb948ca846d'
'3d8d1eeebba7d038f6d890619233e605'
- 'd6feae0f2dd1b24a853d335da003cb51'
+ '54892e41c11a34bf9a348e5653d79796'
'194c8e20ad30973c32159cb23f3be4c9'
'2faaa79055263c1cdeeaa2896e641696'
'80e419d6847d4122a23a141fd3a40e52'
@@ -675,19 +670,18 @@ md5sums=('121e4f65cf16ff76527020ea596fa431'
'b5b3d9d1cefc3955a82ec895f891abf3'
'e9dff9b551b8fa7c0b47ae5ac0b16365'
'9f86c3b9e6271cfc4440864a6857b256'
+ '0a353926bf4a790374e0f946a7039b40'
'd4c38ce51fb9a69aa92ad9b9e0199122'
'a687c26c262ccb9ad7cb54697a1476bc'
- '2249b7ca0a7dfb0b2f835a8cc4058f1e'
+ 'a35a6dea9bc12029b3a837d86d4b842a'
'80920e501b9b87bfe587edff445e6efe'
- '231fa80a33e7a926ba832d3bd66d2ce6'
'bf010dff1d7a48191d491eba2dde1227'
- 'b7867c9203f9f1ec1e3d6648a4659624'
+ '34a583709ee18ad075f497a1733aa8db'
'be1e00d93e9c2ba91ee6017b82e64194'
'28dcc1fe3029c6c316773bbcbe82954d'
- '0714c9817397ac7568afc3e327a20ddd'
+ '8fa4524671e6901bbdb47aaf8ecc0de8'
'12ad5085b7f01793980f137f2c9451cb'
'167a4267269e6a709c54e7b9ea8bf8d5'
'bf58290793d3a095ef95fb1fac2de89a'
- 'cb9384ce179d08be6c90df6d0a0977a1'
- '1613d4689c58d19417a9cd7177f6454b'
+ '6bb03b7a1b9207aaf77fb886d42bab74'
'21c98f19e883879dd3336c1fa143fd31')
diff --git a/linux-cachyos-bmq/.SRCINFO b/linux-cachyos-bmq/.SRCINFO
index 0a5f5191..2d459712 100644
--- a/linux-cachyos-bmq/.SRCINFO
+++ b/linux-cachyos-bmq/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-cachyos-bmq
pkgdesc = Linux BMQ scheduler Kernel by CachyOS and with some other patches and other improvements
- pkgver = 5.16.1
+ pkgver = 5.16.2
pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
@@ -19,7 +19,7 @@ pkgbase = linux-cachyos-bmq
makedepends = tar
makedepends = xz
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.1.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.2.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/sched/0001-prjc.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lru-patches.patch
@@ -31,11 +31,11 @@ pkgbase = linux-cachyos-bmq
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-bfq-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-btrfs.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cfi.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-xfs-ext4-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lqx-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-net-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pf-patches.patch
@@ -44,12 +44,11 @@ pkgbase = linux-cachyos-bmq
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-ksmbd.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zstd-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-page-table-check.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0001-mm-next.patch
source = auto-cpu-optimization.sh
- md5sums = 121e4f65cf16ff76527020ea596fa431
+ md5sums = fd00badc3b53d42da3d84a7cf6f53f17
md5sums = 6048a8eb052a7b2a22b4ab159278b903
- md5sums = 3b05d6069ddcff7dec9c3a216ae48825
+ md5sums = 2bc8ae090fc855e7ab856dad1fd92d5f
md5sums = 76b9d9fa00184d10e7949bb948ca846d
md5sums = 3d8d1eeebba7d038f6d890619233e605
md5sums = 194c8e20ad30973c32159cb23f3be4c9
@@ -59,21 +58,20 @@ pkgbase = linux-cachyos-bmq
md5sums = b5b3d9d1cefc3955a82ec895f891abf3
md5sums = e9dff9b551b8fa7c0b47ae5ac0b16365
md5sums = 9f86c3b9e6271cfc4440864a6857b256
+ md5sums = 0a353926bf4a790374e0f946a7039b40
md5sums = d4c38ce51fb9a69aa92ad9b9e0199122
md5sums = a687c26c262ccb9ad7cb54697a1476bc
- md5sums = 2249b7ca0a7dfb0b2f835a8cc4058f1e
+ md5sums = a35a6dea9bc12029b3a837d86d4b842a
md5sums = 80920e501b9b87bfe587edff445e6efe
- md5sums = 231fa80a33e7a926ba832d3bd66d2ce6
md5sums = bf010dff1d7a48191d491eba2dde1227
- md5sums = b7867c9203f9f1ec1e3d6648a4659624
+ md5sums = 34a583709ee18ad075f497a1733aa8db
md5sums = be1e00d93e9c2ba91ee6017b82e64194
md5sums = 28dcc1fe3029c6c316773bbcbe82954d
- md5sums = 0714c9817397ac7568afc3e327a20ddd
+ md5sums = 8fa4524671e6901bbdb47aaf8ecc0de8
md5sums = 12ad5085b7f01793980f137f2c9451cb
md5sums = 167a4267269e6a709c54e7b9ea8bf8d5
md5sums = bf58290793d3a095ef95fb1fac2de89a
- md5sums = cb9384ce179d08be6c90df6d0a0977a1
- md5sums = 7d28f804d6b74f9a22ad30d67af5a669
+ md5sums = 6bb03b7a1b9207aaf77fb886d42bab74
md5sums = 21c98f19e883879dd3336c1fa143fd31
pkgname = linux-cachyos-bmq
@@ -88,6 +86,8 @@ pkgname = linux-cachyos-bmq
provides = WIREGUARD-MODULE
pkgname = linux-cachyos-bmq-headers
- pkgdesc = Headers and scripts for building modules for the Linux BMQ scheduler Kernel by CachyOS and with some other patches and other improvements
- depends = linux-cachyos-bmq=5.16.1
+ pkgdesc = Headers and scripts for building modules for the Linux BMQ scheduler Kernel by CachyOS and with some other patches and other improvements kernel
+ depends = linux-cachyos-bmq=5.16.2
depends = pahole
+
+pkgname = linux-cachyos-bmq-docs
diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILD
index c6146a6e..ada6ff6f 100644
--- a/linux-cachyos-bmq/PKGBUILD
+++ b/linux-cachyos-bmq/PKGBUILD
@@ -122,7 +122,7 @@ else
pkgbase=linux-cachyos-bmq
fi
_major=5.16
-_minor=1
+_minor=2
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -143,20 +143,17 @@ makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
if [ -n "$_use_llvm_lto" ]; then
depends=(clang llvm lld python)
fi
-if [ -n "$_use_llvm_lto" ]; then
- makedepends+=(clang llvm lld python)
-fi
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16"
source=(
"https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"
"config"
"${_patchsource}/sched/0001-prjc.patch"
# "${_patchsource}/sched/0001-cacULE-5.16-full.patch"
- # "${_patchsource}/sched/0001-bore-sched.patch"
+ # "${_patchsource}/sched/0001-bore-sched.patch"
# "${_patchsource}/sched/0001-tt.patch"
"${_patchsource}/0001-lru-patches.patch"
"${_patchsource}/0001-arch-patches.patch"
-# "${_patchsource}/0001-sched-perf-fix.patch"
+# "${_patchsource}/0001-sched-perf-fix.patch"
"${_patchsource}/0001-blk-patches.patch"
"${_patchsource}/0001-pm.patch"
"${_patchsource}/0001-anbox.patch"
@@ -164,12 +161,11 @@ source=(
"${_patchsource}/0001-bfq-patches.patch"
"${_patchsource}/0001-btrfs.patch"
"${_patchsource}/0001-lrng.patch"
-# "${_patchsource}/0001-cfi.patch"
+ "${_patchsource}/0001-cfi.patch"
"${_patchsource}/0001-cpu.patch"
"${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/0001-f2fs-xfs-ext4-patches.patch"
"${_patchsource}/0001-misc.patch"
- "${_patchsource}/0001-lqx-patches.patch"
"${_patchsource}/0001-net-patches.patch"
"${_patchsource}/0001-fixes-miscellaneous.patch"
"${_patchsource}/0001-pf-patches.patch"
@@ -179,13 +175,11 @@ source=(
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-zstd-patches.patch"
# "${_patchsource}/0001-zen-patches.patch"
- "${_patchsource}/0001-v4l2loopback.patch"
- "${_patchsource}/0001-page-table-check.patch"
+ "${_patchsource}/next/0001-mm-next.patch"
# "${_patchsource}/0001-FG-KASLR.patch"
"auto-cpu-optimization.sh"
)
-
#if [ -n "$_use_pgo" ]; then
# source+=("${_patchsource}/0001-PGO.patch")
#fi
@@ -547,13 +541,12 @@ build() {
_package() {
pkgdesc="The $pkgdesc kernel and modules"
- depends=('coreutils' 'kmod' 'initramfs')
+ depends=(coreutils kmod initramfs)
optdepends=('crda: to set the correct wireless channels of your country'
'linux-firmware: firmware images needed for some devices'
'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
-
cd $_srcname
local kernver="$(<version)"
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
@@ -574,8 +567,9 @@ _package() {
}
_package-headers() {
- pkgdesc="Headers and scripts for building modules for the ${pkgdesc}"
+ pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
depends=("${pkgbase}=${pkgver}" "pahole")
+
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
@@ -654,17 +648,17 @@ _package-headers() {
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
}
-pkgname=("$pkgbase" "$pkgbase-headers")
+pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
for _p in "${pkgname[@]}"; do
eval "package_$_p() {
- $(declare -f "_package${_p#$pkgbase}")
- _package${_p#$pkgbase}
+ $(declare -f "_package${_p#$pkgbase}")
+ _package${_p#$pkgbase}
}"
done
-md5sums=('121e4f65cf16ff76527020ea596fa431'
+md5sums=('fd00badc3b53d42da3d84a7cf6f53f17'
'6048a8eb052a7b2a22b4ab159278b903'
- '3b05d6069ddcff7dec9c3a216ae48825'
+ '2bc8ae090fc855e7ab856dad1fd92d5f'
'76b9d9fa00184d10e7949bb948ca846d'
'3d8d1eeebba7d038f6d890619233e605'
'194c8e20ad30973c32159cb23f3be4c9'
@@ -674,19 +668,18 @@ md5sums=('121e4f65cf16ff76527020ea596fa431'
'b5b3d9d1cefc3955a82ec895f891abf3'
'e9dff9b551b8fa7c0b47ae5ac0b16365'
'9f86c3b9e6271cfc4440864a6857b256'
+ '0a353926bf4a790374e0f946a7039b40'
'd4c38ce51fb9a69aa92ad9b9e0199122'
'a687c26c262ccb9ad7cb54697a1476bc'
- '2249b7ca0a7dfb0b2f835a8cc4058f1e'
+ 'a35a6dea9bc12029b3a837d86d4b842a'
'80920e501b9b87bfe587edff445e6efe'
- '231fa80a33e7a926ba832d3bd66d2ce6'
'bf010dff1d7a48191d491eba2dde1227'
- 'b7867c9203f9f1ec1e3d6648a4659624'
+ '34a583709ee18ad075f497a1733aa8db'
'be1e00d93e9c2ba91ee6017b82e64194'
'28dcc1fe3029c6c316773bbcbe82954d'
- '0714c9817397ac7568afc3e327a20ddd'
+ '8fa4524671e6901bbdb47aaf8ecc0de8'
'12ad5085b7f01793980f137f2c9451cb'
'167a4267269e6a709c54e7b9ea8bf8d5'
'bf58290793d3a095ef95fb1fac2de89a'
- 'cb9384ce179d08be6c90df6d0a0977a1'
- '7d28f804d6b74f9a22ad30d67af5a669'
+ '6bb03b7a1b9207aaf77fb886d42bab74'
'21c98f19e883879dd3336c1fa143fd31')
diff --git a/linux-cachyos-bore/.SRCINFO b/linux-cachyos-bore/.SRCINFO
index dfb34ea4..a120e68e 100644
--- a/linux-cachyos-bore/.SRCINFO
+++ b/linux-cachyos-bore/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-cachyos-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements
- pkgver = 5.16.1
+ pkgver = 5.16.2
pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
@@ -19,7 +19,7 @@ pkgbase = linux-cachyos-bore
makedepends = tar
makedepends = xz
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.1.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.2.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/sched/0001-bore-sched.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lru-patches.patch
@@ -32,11 +32,11 @@ pkgbase = linux-cachyos-bore
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-bfq-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-btrfs.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cfi.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-xfs-ext4-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lqx-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-net-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pf-patches.patch
@@ -45,15 +45,14 @@ pkgbase = linux-cachyos-bore
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-ksmbd.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zstd-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0002-mm-next.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0001-mm-next.patch
source = auto-cpu-optimization.sh
- md5sums = 121e4f65cf16ff76527020ea596fa431
+ md5sums = fd00badc3b53d42da3d84a7cf6f53f17
md5sums = 6048a8eb052a7b2a22b4ab159278b903
md5sums = 1fb4de64e7b59b67afecc7b71b951576
md5sums = 76b9d9fa00184d10e7949bb948ca846d
md5sums = 3d8d1eeebba7d038f6d890619233e605
- md5sums = d6feae0f2dd1b24a853d335da003cb51
+ md5sums = 54892e41c11a34bf9a348e5653d79796
md5sums = 194c8e20ad30973c32159cb23f3be4c9
md5sums = 2faaa79055263c1cdeeaa2896e641696
md5sums = 80e419d6847d4122a23a141fd3a40e52
@@ -61,21 +60,20 @@ pkgbase = linux-cachyos-bore
md5sums = b5b3d9d1cefc3955a82ec895f891abf3
md5sums = e9dff9b551b8fa7c0b47ae5ac0b16365
md5sums = 9f86c3b9e6271cfc4440864a6857b256
+ md5sums = 0a353926bf4a790374e0f946a7039b40
md5sums = d4c38ce51fb9a69aa92ad9b9e0199122
md5sums = a687c26c262ccb9ad7cb54697a1476bc
- md5sums = 2249b7ca0a7dfb0b2f835a8cc4058f1e
+ md5sums = a35a6dea9bc12029b3a837d86d4b842a
md5sums = 80920e501b9b87bfe587edff445e6efe
- md5sums = 231fa80a33e7a926ba832d3bd66d2ce6
md5sums = bf010dff1d7a48191d491eba2dde1227
- md5sums = b7867c9203f9f1ec1e3d6648a4659624
+ md5sums = 34a583709ee18ad075f497a1733aa8db
md5sums = be1e00d93e9c2ba91ee6017b82e64194
md5sums = 28dcc1fe3029c6c316773bbcbe82954d
- md5sums = 0714c9817397ac7568afc3e327a20ddd
+ md5sums = 8fa4524671e6901bbdb47aaf8ecc0de8
md5sums = 12ad5085b7f01793980f137f2c9451cb
md5sums = 167a4267269e6a709c54e7b9ea8bf8d5
md5sums = bf58290793d3a095ef95fb1fac2de89a
- md5sums = cb9384ce179d08be6c90df6d0a0977a1
- md5sums = 1613d4689c58d19417a9cd7177f6454b
+ md5sums = 6bb03b7a1b9207aaf77fb886d42bab74
md5sums = 21c98f19e883879dd3336c1fa143fd31
pkgname = linux-cachyos-bore
@@ -91,5 +89,5 @@ pkgname = linux-cachyos-bore
pkgname = linux-cachyos-bore-headers
pkgdesc = Headers and scripts for building modules for the Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements
- depends = linux-cachyos-bore=5.16.1
+ depends = linux-cachyos-bore=5.16.2
depends = pahole
diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD
index 46625c60..25813657 100644
--- a/linux-cachyos-bore/PKGBUILD
+++ b/linux-cachyos-bore/PKGBUILD
@@ -122,7 +122,7 @@ else
pkgbase=linux-cachyos-bore
fi
_major=5.16
-_minor=1
+_minor=2
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -143,9 +143,6 @@ makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
if [ -n "$_use_llvm_lto" ]; then
depends=(clang llvm lld python)
fi
-if [ -n "$_use_llvm_lto" ]; then
- makedepends+=(clang llvm lld python)
-fi
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16"
source=(
"https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"
@@ -164,12 +161,11 @@ source=(
"${_patchsource}/0001-bfq-patches.patch"
"${_patchsource}/0001-btrfs.patch"
"${_patchsource}/0001-lrng.patch"
-# "${_patchsource}/0001-cfi.patch"
+ "${_patchsource}/0001-cfi.patch"
"${_patchsource}/0001-cpu.patch"
"${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/0001-f2fs-xfs-ext4-patches.patch"
"${_patchsource}/0001-misc.patch"
- "${_patchsource}/0001-lqx-patches.patch"
"${_patchsource}/0001-net-patches.patch"
"${_patchsource}/0001-fixes-miscellaneous.patch"
"${_patchsource}/0001-pf-patches.patch"
@@ -178,10 +174,9 @@ source=(
"${_patchsource}/0001-ksmbd.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-zstd-patches.patch"
-# "${_patchsource}/0001-zen-patches.patch"
- "${_patchsource}/0001-v4l2loopback.patch"
- "${_patchsource}/next/0002-mm-next.patch"
-# "${_patchsource}/0001-FG-KASLR.patch"
+ # "${_patchsource}/0001-zen-patches.patch"
+ "${_patchsource}/next/0001-mm-next.patch"
+ # "${_patchsource}/0001-FG-KASLR.patch"
"auto-cpu-optimization.sh"
)
@@ -558,6 +553,7 @@ _package() {
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
+
cd $_srcname
local kernver="$(<version)"
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
@@ -667,12 +663,12 @@ for _p in "${pkgname[@]}"; do
done
-md5sums=('121e4f65cf16ff76527020ea596fa431'
+md5sums=('fd00badc3b53d42da3d84a7cf6f53f17'
'6048a8eb052a7b2a22b4ab159278b903'
'1fb4de64e7b59b67afecc7b71b951576'
'76b9d9fa00184d10e7949bb948ca846d'
'3d8d1eeebba7d038f6d890619233e605'
- 'd6feae0f2dd1b24a853d335da003cb51'
+ '54892e41c11a34bf9a348e5653d79796'
'194c8e20ad30973c32159cb23f3be4c9'
'2faaa79055263c1cdeeaa2896e641696'
'80e419d6847d4122a23a141fd3a40e52'
@@ -680,19 +676,18 @@ md5sums=('121e4f65cf16ff76527020ea596fa431'
'b5b3d9d1cefc3955a82ec895f891abf3'
'e9dff9b551b8fa7c0b47ae5ac0b16365'
'9f86c3b9e6271cfc4440864a6857b256'
+ '0a353926bf4a790374e0f946a7039b40'
'd4c38ce51fb9a69aa92ad9b9e0199122'
'a687c26c262ccb9ad7cb54697a1476bc'
- '2249b7ca0a7dfb0b2f835a8cc4058f1e'
+ 'a35a6dea9bc12029b3a837d86d4b842a'
'80920e501b9b87bfe587edff445e6efe'
- '231fa80a33e7a926ba832d3bd66d2ce6'
'bf010dff1d7a48191d491eba2dde1227'
- 'b7867c9203f9f1ec1e3d6648a4659624'
+ '34a583709ee18ad075f497a1733aa8db'
'be1e00d93e9c2ba91ee6017b82e64194'
'28dcc1fe3029c6c316773bbcbe82954d'
- '0714c9817397ac7568afc3e327a20ddd'
+ '8fa4524671e6901bbdb47aaf8ecc0de8'
'12ad5085b7f01793980f137f2c9451cb'
'167a4267269e6a709c54e7b9ea8bf8d5'
'bf58290793d3a095ef95fb1fac2de89a'
- 'cb9384ce179d08be6c90df6d0a0977a1'
- '1613d4689c58d19417a9cd7177f6454b'
+ '6bb03b7a1b9207aaf77fb886d42bab74'
'21c98f19e883879dd3336c1fa143fd31')
diff --git a/linux-cachyos-cacule/.SRCINFO b/linux-cachyos-cacule/.SRCINFO
index 995c2b08..60ee7e8f 100644
--- a/linux-cachyos-cacule/.SRCINFO
+++ b/linux-cachyos-cacule/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-cachyos-cacule
pkgdesc = Linux cacULE scheduler Kernel by CachyOS and with some other patches and other improvements
- pkgver = 5.16.1
+ pkgver = 5.16.2
pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
@@ -19,7 +19,7 @@ pkgbase = linux-cachyos-cacule
makedepends = tar
makedepends = xz
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.1.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.2.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/sched/0001-cacULE-5.16-full.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lru-patches.patch
@@ -48,12 +48,12 @@ pkgbase = linux-cachyos-cacule
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-v4l2loopback.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0002-mm-next.patch
source = auto-cpu-optimization.sh
- md5sums = 121e4f65cf16ff76527020ea596fa431
+ md5sums = fd00badc3b53d42da3d84a7cf6f53f17
md5sums = 6048a8eb052a7b2a22b4ab159278b903
md5sums = 02e7cbd91491ad357bf2d507d58e21a0
md5sums = 76b9d9fa00184d10e7949bb948ca846d
md5sums = 3d8d1eeebba7d038f6d890619233e605
- md5sums = d6feae0f2dd1b24a853d335da003cb51
+ md5sums = 54892e41c11a34bf9a348e5653d79796
md5sums = 194c8e20ad30973c32159cb23f3be4c9
md5sums = 2faaa79055263c1cdeeaa2896e641696
md5sums = 80e419d6847d4122a23a141fd3a40e52
@@ -63,14 +63,14 @@ pkgbase = linux-cachyos-cacule
md5sums = 9f86c3b9e6271cfc4440864a6857b256
md5sums = d4c38ce51fb9a69aa92ad9b9e0199122
md5sums = a687c26c262ccb9ad7cb54697a1476bc
- md5sums = 2249b7ca0a7dfb0b2f835a8cc4058f1e
+ md5sums = a35a6dea9bc12029b3a837d86d4b842a
md5sums = 80920e501b9b87bfe587edff445e6efe
md5sums = 231fa80a33e7a926ba832d3bd66d2ce6
md5sums = bf010dff1d7a48191d491eba2dde1227
- md5sums = b7867c9203f9f1ec1e3d6648a4659624
+ md5sums = 34a583709ee18ad075f497a1733aa8db
md5sums = be1e00d93e9c2ba91ee6017b82e64194
md5sums = 28dcc1fe3029c6c316773bbcbe82954d
- md5sums = 0714c9817397ac7568afc3e327a20ddd
+ md5sums = 8fa4524671e6901bbdb47aaf8ecc0de8
md5sums = 12ad5085b7f01793980f137f2c9451cb
md5sums = 167a4267269e6a709c54e7b9ea8bf8d5
md5sums = bf58290793d3a095ef95fb1fac2de89a
@@ -90,6 +90,8 @@ pkgname = linux-cachyos-cacule
provides = WIREGUARD-MODULE
pkgname = linux-cachyos-cacule-headers
- pkgdesc = Headers and scripts for building modules for the Linux cacULE scheduler Kernel by CachyOS and with some other patches and other improvements
- depends = linux-cachyos-cacule=5.16.1
+ pkgdesc = Headers and scripts for building modules for the Linux cacULE scheduler Kernel by CachyOS and with some other patches and other improvements kernel
+ depends = linux-cachyos-cacule=5.16.2
depends = pahole
+
+pkgname = linux-cachyos-cacule-docs
diff --git a/linux-cachyos-cacule/PKGBUILD b/linux-cachyos-cacule/PKGBUILD
index 49c51b76..2fccbf20 100644
--- a/linux-cachyos-cacule/PKGBUILD
+++ b/linux-cachyos-cacule/PKGBUILD
@@ -122,7 +122,7 @@ else
pkgbase=linux-cachyos-cacule
fi
_major=5.16
-_minor=1
+_minor=2
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -143,9 +143,6 @@ makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
if [ -n "$_use_llvm_lto" ]; then
depends=(clang llvm lld python)
fi
-if [ -n "$_use_llvm_lto" ]; then
- makedepends+=(clang llvm lld python)
-fi
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16"
source=(
"https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"
@@ -164,7 +161,7 @@ source=(
"${_patchsource}/0001-bfq-patches.patch"
"${_patchsource}/0001-btrfs.patch"
"${_patchsource}/0001-lrng.patch"
-# "${_patchsource}/0001-cfi.patch"
+ # "${_patchsource}/0001-cfi.patch"
"${_patchsource}/0001-cpu.patch"
"${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/0001-f2fs-xfs-ext4-patches.patch"
@@ -178,10 +175,10 @@ source=(
"${_patchsource}/0001-ksmbd.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-zstd-patches.patch"
-# "${_patchsource}/0001-zen-patches.patch"
+ # "${_patchsource}/0001-zen-patches.patch"
"${_patchsource}/0001-v4l2loopback.patch"
"${_patchsource}/next/0002-mm-next.patch"
-# "${_patchsource}/0001-FG-KASLR.patch"
+ # "${_patchsource}/0001-FG-KASLR.patch"
"auto-cpu-optimization.sh"
)
@@ -543,7 +540,7 @@ build() {
_package() {
pkgdesc="The $pkgdesc kernel and modules"
- depends=('coreutils' 'kmod' 'initramfs')
+ depends=(coreutils kmod initramfs)
optdepends=('crda: to set the correct wireless channels of your country'
'linux-firmware: firmware images needed for some devices'
'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
@@ -570,8 +567,9 @@ _package() {
}
_package-headers() {
- pkgdesc="Headers and scripts for building modules for the ${pkgdesc}"
+ pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
depends=("${pkgbase}=${pkgver}" "pahole")
+
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
@@ -650,21 +648,20 @@ _package-headers() {
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
}
-pkgname=("$pkgbase" "$pkgbase-headers")
+pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
for _p in "${pkgname[@]}"; do
eval "package_$_p() {
- $(declare -f "_package${_p#$pkgbase}")
- _package${_p#$pkgbase}
+ $(declare -f "_package${_p#$pkgbase}")
+ _package${_p#$pkgbase}
}"
done
-
-md5sums=('121e4f65cf16ff76527020ea596fa431'
+md5sums=('fd00badc3b53d42da3d84a7cf6f53f17'
'6048a8eb052a7b2a22b4ab159278b903'
'02e7cbd91491ad357bf2d507d58e21a0'
'76b9d9fa00184d10e7949bb948ca846d'
'3d8d1eeebba7d038f6d890619233e605'
- 'd6feae0f2dd1b24a853d335da003cb51'
+ '54892e41c11a34bf9a348e5653d79796'
'194c8e20ad30973c32159cb23f3be4c9'
'2faaa79055263c1cdeeaa2896e641696'
'80e419d6847d4122a23a141fd3a40e52'
@@ -674,14 +671,14 @@ md5sums=('121e4f65cf16ff76527020ea596fa431'
'9f86c3b9e6271cfc4440864a6857b256'
'd4c38ce51fb9a69aa92ad9b9e0199122'
'a687c26c262ccb9ad7cb54697a1476bc'
- '2249b7ca0a7dfb0b2f835a8cc4058f1e'
+ 'a35a6dea9bc12029b3a837d86d4b842a'
'80920e501b9b87bfe587edff445e6efe'
'231fa80a33e7a926ba832d3bd66d2ce6'
'bf010dff1d7a48191d491eba2dde1227'
- 'b7867c9203f9f1ec1e3d6648a4659624'
+ '34a583709ee18ad075f497a1733aa8db'
'be1e00d93e9c2ba91ee6017b82e64194'
'28dcc1fe3029c6c316773bbcbe82954d'
- '0714c9817397ac7568afc3e327a20ddd'
+ '8fa4524671e6901bbdb47aaf8ecc0de8'
'12ad5085b7f01793980f137f2c9451cb'
'167a4267269e6a709c54e7b9ea8bf8d5'
'bf58290793d3a095ef95fb1fac2de89a'
diff --git a/linux-cachyos-pds/.SRCINFO b/linux-cachyos-pds/.SRCINFO
index 5b770905..c0875081 100644
--- a/linux-cachyos-pds/.SRCINFO
+++ b/linux-cachyos-pds/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-cachyos-pds
- pkgdesc = Linux PDS scheduler Kernel by CachyOS and with some other patches and other improvements
- pkgver = 5.16.1
+ pkgdesc = Linux BMQ scheduler Kernel by CachyOS and with some other patches and other improvements
+ pkgver = 5.16.2
pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
@@ -19,7 +19,7 @@ pkgbase = linux-cachyos-pds
makedepends = tar
makedepends = xz
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.1.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.2.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/sched/0001-prjc.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lru-patches.patch
@@ -31,11 +31,11 @@ pkgbase = linux-cachyos-pds
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-bfq-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-btrfs.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cfi.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-xfs-ext4-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lqx-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-net-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pf-patches.patch
@@ -44,12 +44,11 @@ pkgbase = linux-cachyos-pds
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-ksmbd.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zstd-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-page-table-check.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0001-mm-next.patch
source = auto-cpu-optimization.sh
- md5sums = 121e4f65cf16ff76527020ea596fa431
+ md5sums = fd00badc3b53d42da3d84a7cf6f53f17
md5sums = 6048a8eb052a7b2a22b4ab159278b903
- md5sums = 3b05d6069ddcff7dec9c3a216ae48825
+ md5sums = 2bc8ae090fc855e7ab856dad1fd92d5f
md5sums = 76b9d9fa00184d10e7949bb948ca846d
md5sums = 3d8d1eeebba7d038f6d890619233e605
md5sums = 194c8e20ad30973c32159cb23f3be4c9
@@ -59,25 +58,24 @@ pkgbase = linux-cachyos-pds
md5sums = b5b3d9d1cefc3955a82ec895f891abf3
md5sums = e9dff9b551b8fa7c0b47ae5ac0b16365
md5sums = 9f86c3b9e6271cfc4440864a6857b256
+ md5sums = 0a353926bf4a790374e0f946a7039b40
md5sums = d4c38ce51fb9a69aa92ad9b9e0199122
md5sums = a687c26c262ccb9ad7cb54697a1476bc
- md5sums = 2249b7ca0a7dfb0b2f835a8cc4058f1e
+ md5sums = a35a6dea9bc12029b3a837d86d4b842a
md5sums = 80920e501b9b87bfe587edff445e6efe
- md5sums = 231fa80a33e7a926ba832d3bd66d2ce6
md5sums = bf010dff1d7a48191d491eba2dde1227
- md5sums = b7867c9203f9f1ec1e3d6648a4659624
+ md5sums = 34a583709ee18ad075f497a1733aa8db
md5sums = be1e00d93e9c2ba91ee6017b82e64194
md5sums = 28dcc1fe3029c6c316773bbcbe82954d
- md5sums = 0714c9817397ac7568afc3e327a20ddd
+ md5sums = 8fa4524671e6901bbdb47aaf8ecc0de8
md5sums = 12ad5085b7f01793980f137f2c9451cb
md5sums = 167a4267269e6a709c54e7b9ea8bf8d5
md5sums = bf58290793d3a095ef95fb1fac2de89a
- md5sums = cb9384ce179d08be6c90df6d0a0977a1
- md5sums = 7d28f804d6b74f9a22ad30d67af5a669
+ md5sums = 6bb03b7a1b9207aaf77fb886d42bab74
md5sums = 21c98f19e883879dd3336c1fa143fd31
pkgname = linux-cachyos-pds
- pkgdesc = The Linux PDS scheduler Kernel by CachyOS and with some other patches and other improvements kernel and modules
+ pkgdesc = The Linux BMQ scheduler Kernel by CachyOS and with some other patches and other improvements kernel and modules
depends = coreutils
depends = kmod
depends = initramfs
@@ -88,6 +86,8 @@ pkgname = linux-cachyos-pds
provides = WIREGUARD-MODULE
pkgname = linux-cachyos-pds-headers
- pkgdesc = Headers and scripts for building modules for the Linux PDS scheduler Kernel by CachyOS and with some other patches and other improvements
- depends = linux-cachyos-pds=5.16.1
+ pkgdesc = Headers and scripts for building modules for the Linux BMQ scheduler Kernel by CachyOS and with some other patches and other improvements kernel
+ depends = linux-cachyos-pds=5.16.2
depends = pahole
+
+pkgname = linux-cachyos-pds-docs
diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILD
index 2732723e..f9e22fdd 100644
--- a/linux-cachyos-pds/PKGBUILD
+++ b/linux-cachyos-pds/PKGBUILD
@@ -122,7 +122,7 @@ else
pkgbase=linux-cachyos-pds
fi
_major=5.16
-_minor=1
+_minor=2
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -132,7 +132,7 @@ _stablerc=${_major}-${_rcver}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
-pkgdesc='Linux PDS scheduler Kernel by CachyOS and with some other patches and other improvements'
+pkgdesc='Linux BMQ scheduler Kernel by CachyOS and with some other patches and other improvements'
pkgrel=1
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -142,7 +142,6 @@ makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
'graphviz' 'imagemagick' 'pahole' 'cpio' 'perl' 'tar' 'xz')
if [ -n "$_use_llvm_lto" ]; then
depends=(clang llvm lld python)
- makedepends+=(clang llvm lld python)
fi
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16"
source=(
@@ -154,7 +153,7 @@ source=(
# "${_patchsource}/sched/0001-tt.patch"
"${_patchsource}/0001-lru-patches.patch"
"${_patchsource}/0001-arch-patches.patch"
-# "${_patchsource}/0001-sched-perf-fix.patch"
+# "${_patchsource}/0001-sched-perf-fix.patch"
"${_patchsource}/0001-blk-patches.patch"
"${_patchsource}/0001-pm.patch"
"${_patchsource}/0001-anbox.patch"
@@ -162,12 +161,11 @@ source=(
"${_patchsource}/0001-bfq-patches.patch"
"${_patchsource}/0001-btrfs.patch"
"${_patchsource}/0001-lrng.patch"
-# "${_patchsource}/0001-cfi.patch"
+ "${_patchsource}/0001-cfi.patch"
"${_patchsource}/0001-cpu.patch"
"${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/0001-f2fs-xfs-ext4-patches.patch"
"${_patchsource}/0001-misc.patch"
- "${_patchsource}/0001-lqx-patches.patch"
"${_patchsource}/0001-net-patches.patch"
"${_patchsource}/0001-fixes-miscellaneous.patch"
"${_patchsource}/0001-pf-patches.patch"
@@ -177,8 +175,7 @@ source=(
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-zstd-patches.patch"
# "${_patchsource}/0001-zen-patches.patch"
- "${_patchsource}/0001-v4l2loopback.patch"
- "${_patchsource}/0001-page-table-check.patch"
+ "${_patchsource}/next/0001-mm-next.patch"
# "${_patchsource}/0001-FG-KASLR.patch"
"auto-cpu-optimization.sh"
)
@@ -544,13 +541,12 @@ build() {
_package() {
pkgdesc="The $pkgdesc kernel and modules"
- depends=('coreutils' 'kmod' 'initramfs')
+ depends=(coreutils kmod initramfs)
optdepends=('crda: to set the correct wireless channels of your country'
'linux-firmware: firmware images needed for some devices'
'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
-
cd $_srcname
local kernver="$(<version)"
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
@@ -571,8 +567,9 @@ _package() {
}
_package-headers() {
- pkgdesc="Headers and scripts for building modules for the ${pkgdesc}"
+ pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
depends=("${pkgbase}=${pkgver}" "pahole")
+
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
@@ -651,18 +648,17 @@ _package-headers() {
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
}
-pkgname=("$pkgbase" "$pkgbase-headers")
+pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
for _p in "${pkgname[@]}"; do
eval "package_$_p() {
- $(declare -f "_package${_p#$pkgbase}")
- _package${_p#$pkgbase}
+ $(declare -f "_package${_p#$pkgbase}")
+ _package${_p#$pkgbase}
}"
done
-
-md5sums=('121e4f65cf16ff76527020ea596fa431'
+md5sums=('fd00badc3b53d42da3d84a7cf6f53f17'
'6048a8eb052a7b2a22b4ab159278b903'
- '3b05d6069ddcff7dec9c3a216ae48825'
+ '2bc8ae090fc855e7ab856dad1fd92d5f'
'76b9d9fa00184d10e7949bb948ca846d'
'3d8d1eeebba7d038f6d890619233e605'
'194c8e20ad30973c32159cb23f3be4c9'
@@ -672,19 +668,18 @@ md5sums=('121e4f65cf16ff76527020ea596fa431'
'b5b3d9d1cefc3955a82ec895f891abf3'
'e9dff9b551b8fa7c0b47ae5ac0b16365'
'9f86c3b9e6271cfc4440864a6857b256'
+ '0a353926bf4a790374e0f946a7039b40'
'd4c38ce51fb9a69aa92ad9b9e0199122'
'a687c26c262ccb9ad7cb54697a1476bc'
- '2249b7ca0a7dfb0b2f835a8cc4058f1e'
+ 'a35a6dea9bc12029b3a837d86d4b842a'
'80920e501b9b87bfe587edff445e6efe'
- '231fa80a33e7a926ba832d3bd66d2ce6'
'bf010dff1d7a48191d491eba2dde1227'
- 'b7867c9203f9f1ec1e3d6648a4659624'
+ '34a583709ee18ad075f497a1733aa8db'
'be1e00d93e9c2ba91ee6017b82e64194'
'28dcc1fe3029c6c316773bbcbe82954d'
- '0714c9817397ac7568afc3e327a20ddd'
+ '8fa4524671e6901bbdb47aaf8ecc0de8'
'12ad5085b7f01793980f137f2c9451cb'
'167a4267269e6a709c54e7b9ea8bf8d5'
'bf58290793d3a095ef95fb1fac2de89a'
- 'cb9384ce179d08be6c90df6d0a0977a1'
- '7d28f804d6b74f9a22ad30d67af5a669'
+ '6bb03b7a1b9207aaf77fb886d42bab74'
'21c98f19e883879dd3336c1fa143fd31')
diff --git a/linux-cachyos-tt/.SRCINFO b/linux-cachyos-tt/.SRCINFO
index bc0df40f..923e44e0 100644
--- a/linux-cachyos-tt/.SRCINFO
+++ b/linux-cachyos-tt/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-cachyos-tt
pkgdesc = Linux TT scheduler Kernel by CachyOS and with some other patches and other improvements
- pkgver = 5.16.1
+ pkgver = 5.16.2
pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
@@ -19,12 +19,11 @@ pkgbase = linux-cachyos-tt
makedepends = tar
makedepends = xz
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.1.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.2.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/sched/0001-tt.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lru-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-arch-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-sched-perf-fix.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-blk-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-anbox.patch
@@ -32,11 +31,11 @@ pkgbase = linux-cachyos-tt
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-bfq-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-btrfs.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cfi.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-xfs-ext4-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lqx-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-net-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pf-patches.patch
@@ -45,15 +44,13 @@ pkgbase = linux-cachyos-tt
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-ksmbd.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zstd-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0002-mm-next.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0001-mm-next.patch
source = auto-cpu-optimization.sh
- md5sums = 121e4f65cf16ff76527020ea596fa431
+ md5sums = fd00badc3b53d42da3d84a7cf6f53f17
md5sums = 6048a8eb052a7b2a22b4ab159278b903
md5sums = 855970078999580f28fa32f547d89d7f
md5sums = 76b9d9fa00184d10e7949bb948ca846d
md5sums = 3d8d1eeebba7d038f6d890619233e605
- md5sums = d6feae0f2dd1b24a853d335da003cb51
md5sums = 194c8e20ad30973c32159cb23f3be4c9
md5sums = 2faaa79055263c1cdeeaa2896e641696
md5sums = 80e419d6847d4122a23a141fd3a40e52
@@ -61,35 +58,27 @@ pkgbase = linux-cachyos-tt
md5sums = b5b3d9d1cefc3955a82ec895f891abf3
md5sums = e9dff9b551b8fa7c0b47ae5ac0b16365
md5sums = 9f86c3b9e6271cfc4440864a6857b256
+ md5sums = 0a353926bf4a790374e0f946a7039b40
md5sums = d4c38ce51fb9a69aa92ad9b9e0199122
md5sums = a687c26c262ccb9ad7cb54697a1476bc
- md5sums = 2249b7ca0a7dfb0b2f835a8cc4058f1e
+ md5sums = a35a6dea9bc12029b3a837d86d4b842a
md5sums = 80920e501b9b87bfe587edff445e6efe
- md5sums = 231fa80a33e7a926ba832d3bd66d2ce6
md5sums = bf010dff1d7a48191d491eba2dde1227
- md5sums = b7867c9203f9f1ec1e3d6648a4659624
+ md5sums = 34a583709ee18ad075f497a1733aa8db
md5sums = be1e00d93e9c2ba91ee6017b82e64194
md5sums = 28dcc1fe3029c6c316773bbcbe82954d
- md5sums = 0714c9817397ac7568afc3e327a20ddd
+ md5sums = 8fa4524671e6901bbdb47aaf8ecc0de8
md5sums = 12ad5085b7f01793980f137f2c9451cb
md5sums = 167a4267269e6a709c54e7b9ea8bf8d5
md5sums = bf58290793d3a095ef95fb1fac2de89a
- md5sums = cb9384ce179d08be6c90df6d0a0977a1
- md5sums = 1613d4689c58d19417a9cd7177f6454b
+ md5sums = 6bb03b7a1b9207aaf77fb886d42bab74
md5sums = 21c98f19e883879dd3336c1fa143fd31
pkgname = linux-cachyos-tt
- pkgdesc = The Linux TT scheduler Kernel by CachyOS and with some other patches and other improvements kernel and modules
- depends = coreutils
- depends = kmod
- depends = initramfs
- optdepends = crda: to set the correct wireless channels of your country
- optdepends = linux-firmware: firmware images needed for some devices
- optdepends = modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig
- provides = VIRTUALBOX-GUEST-MODULES
- provides = WIREGUARD-MODULE
pkgname = linux-cachyos-tt-headers
- pkgdesc = Headers and scripts for building modules for the Linux TT scheduler Kernel by CachyOS and with some other patches and other improvements
- depends = linux-cachyos-tt=5.16.1
+ pkgdesc = Headers and scripts for building modules for the Linux TT scheduler Kernel by CachyOS and with some other patches and other improvements kernel
+ depends = linux-cachyos-tt=5.16.2
depends = pahole
+
+pkgname = linux-cachyos-tt-docs
diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILD
index 0ac4233c..5ff7ca8d 100644
--- a/linux-cachyos-tt/PKGBUILD
+++ b/linux-cachyos-tt/PKGBUILD
@@ -122,7 +122,7 @@ else
pkgbase=linux-cachyos-tt
fi
_major=5.16
-_minor=1
+_minor=2
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -143,9 +143,6 @@ makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
if [ -n "$_use_llvm_lto" ]; then
depends=(clang llvm lld python)
fi
-if [ -n "$_use_llvm_lto" ]; then
- makedepends+=(clang llvm lld python)
-fi
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16"
source=(
"https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"
@@ -156,7 +153,7 @@ source=(
"${_patchsource}/sched/0001-tt.patch"
"${_patchsource}/0001-lru-patches.patch"
"${_patchsource}/0001-arch-patches.patch"
- "${_patchsource}/0001-sched-perf-fix.patch"
+ # "${_patchsource}/0001-sched-perf-fix.patch"
"${_patchsource}/0001-blk-patches.patch"
"${_patchsource}/0001-pm.patch"
"${_patchsource}/0001-anbox.patch"
@@ -164,12 +161,11 @@ source=(
"${_patchsource}/0001-bfq-patches.patch"
"${_patchsource}/0001-btrfs.patch"
"${_patchsource}/0001-lrng.patch"
-# "${_patchsource}/0001-cfi.patch"
+ "${_patchsource}/0001-cfi.patch"
"${_patchsource}/0001-cpu.patch"
"${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/0001-f2fs-xfs-ext4-patches.patch"
"${_patchsource}/0001-misc.patch"
- "${_patchsource}/0001-lqx-patches.patch"
"${_patchsource}/0001-net-patches.patch"
"${_patchsource}/0001-fixes-miscellaneous.patch"
"${_patchsource}/0001-pf-patches.patch"
@@ -178,10 +174,9 @@ source=(
"${_patchsource}/0001-ksmbd.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-zstd-patches.patch"
-# "${_patchsource}/0001-zen-patches.patch"
- "${_patchsource}/0001-v4l2loopback.patch"
- "${_patchsource}/next/0002-mm-next.patch"
-# "${_patchsource}/0001-FG-KASLR.patch"
+ # "${_patchsource}/0001-zen-patches.patch"
+ "${_patchsource}/next/0001-mm-next.patch"
+ # "${_patchsource}/0001-FG-KASLR.patch"
"auto-cpu-optimization.sh"
)
@@ -290,11 +285,11 @@ prepare() {
exit
fi
-# if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
-# echo "Enabling CFI"
-# scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
-# scripts/config --enable CONFIG_CFI_CLANG
-# fi
+ # if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
+ # echo "Enabling CFI"
+ # scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
+ # scripts/config --enable CONFIG_CFI_CLANG
+ # fi
if [ -n "$_use_llvm_lto" ]; then
echo "Enable LLVM LTO"
@@ -544,9 +539,9 @@ build() {
make $LLVMOPTS -j$(nproc) all
}
-_package() {
+__package() {
pkgdesc="The $pkgdesc kernel and modules"
- depends=('coreutils' 'kmod' 'initramfs')
+ depends=(coreutils kmod initramfs)
optdepends=('crda: to set the correct wireless channels of your country'
'linux-firmware: firmware images needed for some devices'
'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
@@ -573,8 +568,9 @@ _package() {
}
_package-headers() {
- pkgdesc="Headers and scripts for building modules for the ${pkgdesc}"
+ pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
depends=("${pkgbase}=${pkgver}" "pahole")
+
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
@@ -653,20 +649,19 @@ _package-headers() {
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
}
-pkgname=("$pkgbase" "$pkgbase-headers")
+pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
for _p in "${pkgname[@]}"; do
eval "package_$_p() {
- $(declare -f "_package${_p#$pkgbase}")
- _package${_p#$pkgbase}
+ $(declare -f "_package${_p#$pkgbase}")
+ _package${_p#$pkgbase}
}"
done
-md5sums=('121e4f65cf16ff76527020ea596fa431'
+md5sums=('fd00badc3b53d42da3d84a7cf6f53f17'
'6048a8eb052a7b2a22b4ab159278b903'
'855970078999580f28fa32f547d89d7f'
'76b9d9fa00184d10e7949bb948ca846d'
'3d8d1eeebba7d038f6d890619233e605'
- 'd6feae0f2dd1b24a853d335da003cb51'
'194c8e20ad30973c32159cb23f3be4c9'
'2faaa79055263c1cdeeaa2896e641696'
'80e419d6847d4122a23a141fd3a40e52'
@@ -674,19 +669,18 @@ md5sums=('121e4f65cf16ff76527020ea596fa431'
'b5b3d9d1cefc3955a82ec895f891abf3'
'e9dff9b551b8fa7c0b47ae5ac0b16365'
'9f86c3b9e6271cfc4440864a6857b256'
+ '0a353926bf4a790374e0f946a7039b40'
'd4c38ce51fb9a69aa92ad9b9e0199122'
'a687c26c262ccb9ad7cb54697a1476bc'
- '2249b7ca0a7dfb0b2f835a8cc4058f1e'
+ 'a35a6dea9bc12029b3a837d86d4b842a'
'80920e501b9b87bfe587edff445e6efe'
- '231fa80a33e7a926ba832d3bd66d2ce6'
'bf010dff1d7a48191d491eba2dde1227'
- 'b7867c9203f9f1ec1e3d6648a4659624'
+ '34a583709ee18ad075f497a1733aa8db'
'be1e00d93e9c2ba91ee6017b82e64194'
'28dcc1fe3029c6c316773bbcbe82954d'
- '0714c9817397ac7568afc3e327a20ddd'
+ '8fa4524671e6901bbdb47aaf8ecc0de8'
'12ad5085b7f01793980f137f2c9451cb'
'167a4267269e6a709c54e7b9ea8bf8d5'
'bf58290793d3a095ef95fb1fac2de89a'
- 'cb9384ce179d08be6c90df6d0a0977a1'
- '1613d4689c58d19417a9cd7177f6454b'
+ '6bb03b7a1b9207aaf77fb886d42bab74'
'21c98f19e883879dd3336c1fa143fd31')
diff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFO
index 01a02b8c..c5862136 100644
--- a/linux-cachyos/.SRCINFO
+++ b/linux-cachyos/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-cachyos
pkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements
- pkgver = 5.16.1
+ pkgver = 5.16.2
pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
@@ -19,7 +19,7 @@ pkgbase = linux-cachyos
makedepends = tar
makedepends = xz
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.1.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.2.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lru-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-arch-patches.patch
@@ -31,11 +31,11 @@ pkgbase = linux-cachyos
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-bfq-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-btrfs.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cfi.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-xfs-ext4-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lqx-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-net-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pf-patches.patch
@@ -44,14 +44,13 @@ pkgbase = linux-cachyos
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-ksmbd.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zstd-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0002-mm-next.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0001-mm-next.patch
source = auto-cpu-optimization.sh
- md5sums = 121e4f65cf16ff76527020ea596fa431
+ md5sums = fd00badc3b53d42da3d84a7cf6f53f17
md5sums = 6048a8eb052a7b2a22b4ab159278b903
md5sums = 76b9d9fa00184d10e7949bb948ca846d
md5sums = 3d8d1eeebba7d038f6d890619233e605
- md5sums = d6feae0f2dd1b24a853d335da003cb51
+ md5sums = 54892e41c11a34bf9a348e5653d79796
md5sums = 194c8e20ad30973c32159cb23f3be4c9
md5sums = 2faaa79055263c1cdeeaa2896e641696
md5sums = 80e419d6847d4122a23a141fd3a40e52
@@ -59,21 +58,20 @@ pkgbase = linux-cachyos
md5sums = b5b3d9d1cefc3955a82ec895f891abf3
md5sums = e9dff9b551b8fa7c0b47ae5ac0b16365
md5sums = 9f86c3b9e6271cfc4440864a6857b256
+ md5sums = 0a353926bf4a790374e0f946a7039b40
md5sums = d4c38ce51fb9a69aa92ad9b9e0199122
md5sums = a687c26c262ccb9ad7cb54697a1476bc
- md5sums = 2249b7ca0a7dfb0b2f835a8cc4058f1e
+ md5sums = a35a6dea9bc12029b3a837d86d4b842a
md5sums = 80920e501b9b87bfe587edff445e6efe
- md5sums = 231fa80a33e7a926ba832d3bd66d2ce6
md5sums = bf010dff1d7a48191d491eba2dde1227
- md5sums = b7867c9203f9f1ec1e3d6648a4659624
+ md5sums = 34a583709ee18ad075f497a1733aa8db
md5sums = be1e00d93e9c2ba91ee6017b82e64194
md5sums = 28dcc1fe3029c6c316773bbcbe82954d
- md5sums = 0714c9817397ac7568afc3e327a20ddd
+ md5sums = 8fa4524671e6901bbdb47aaf8ecc0de8
md5sums = 12ad5085b7f01793980f137f2c9451cb
md5sums = 167a4267269e6a709c54e7b9ea8bf8d5
md5sums = bf58290793d3a095ef95fb1fac2de89a
- md5sums = cb9384ce179d08be6c90df6d0a0977a1
- md5sums = 1613d4689c58d19417a9cd7177f6454b
+ md5sums = 6bb03b7a1b9207aaf77fb886d42bab74
md5sums = 21c98f19e883879dd3336c1fa143fd31
pkgname = linux-cachyos
@@ -88,6 +86,8 @@ pkgname = linux-cachyos
provides = WIREGUARD-MODULE
pkgname = linux-cachyos-headers
- pkgdesc = Headers and scripts for building modules for the Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements
- depends = linux-cachyos=5.16.1
+ pkgdesc = Headers and scripts for building modules for the Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements kernel
+ depends = linux-cachyos=5.16.2
depends = pahole
+
+pkgname = linux-cachyos-docs
diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD
index b170d2bf..4c04185c 100755
--- a/linux-cachyos/PKGBUILD
+++ b/linux-cachyos/PKGBUILD
@@ -122,7 +122,7 @@ else
pkgbase=linux-cachyos
fi
_major=5.16
-_minor=1
+_minor=2
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -143,14 +143,11 @@ makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
if [ -n "$_use_llvm_lto" ]; then
depends=(clang llvm lld python)
fi
-if [ -n "$_use_llvm_lto" ]; then
- makedepends+=(clang llvm lld python)
-fi
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16"
source=(
"https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"
"config"
- # "${_patchsource}/sched/0001-pjrc.patch" ## not released for 5.16 right now
+ # "${_patchsource}/sched/0001-pjrc.patch"
# "${_patchsource}/sched/0001-cacULE-5.16-full.patch"
# "${_patchsource}/sched/0001-bore-sched.patch"
# "${_patchsource}/sched/0001-tt.patch"
@@ -164,12 +161,11 @@ source=(
"${_patchsource}/0001-bfq-patches.patch"
"${_patchsource}/0001-btrfs.patch"
"${_patchsource}/0001-lrng.patch"
-# "${_patchsource}/0001-cfi.patch"
+ "${_patchsource}/0001-cfi.patch"
"${_patchsource}/0001-cpu.patch"
"${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/0001-f2fs-xfs-ext4-patches.patch"
"${_patchsource}/0001-misc.patch"
- "${_patchsource}/0001-lqx-patches.patch"
"${_patchsource}/0001-net-patches.patch"
"${_patchsource}/0001-fixes-miscellaneous.patch"
"${_patchsource}/0001-pf-patches.patch"
@@ -179,8 +175,7 @@ source=(
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-zstd-patches.patch"
# "${_patchsource}/0001-zen-patches.patch"
- "${_patchsource}/0001-v4l2loopback.patch"
- "${_patchsource}/next/0002-mm-next.patch"
+ "${_patchsource}/next/0001-mm-next.patch"
# "${_patchsource}/0001-FG-KASLR.patch"
"auto-cpu-optimization.sh"
)
@@ -545,107 +540,92 @@ build() {
_package() {
pkgdesc="The $pkgdesc kernel and modules"
- depends=('coreutils' 'kmod' 'initramfs')
+ depends=(coreutils kmod initramfs)
optdepends=('crda: to set the correct wireless channels of your country'
'linux-firmware: firmware images needed for some devices'
'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
- cd $_srcname
+ cd $_srcname
local kernver="$(<version)"
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
+ echo "Installing boot image..."
# systemd expects to find the kernel here to allow hibernation
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
- install -Dm644 "$(make $LLVMOPTS -s image_name)" "$modulesdir/vmlinuz"
+ install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
# Used by mkinitcpio to name the kernel
- echo "${pkgbase}" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
+ echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
- # make room for external modules
- local _extramodules="extramodules-${pkgbase}"
- ln -s "../${_extramodules}" "$modulesdir/extramodules"
- # add real version for building modules and running depmod from hook
- echo "${kernver}" |
- install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modules/${_extramodules}/version"
-
- echo -e "\n${TB}* INSTALLING MODULES${TN}"
- make $LLVMOPTS LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}/usr" INSTALL_MOD_STRIP=1 modules_install
+ echo "Installing modules..."
+ make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
# remove build and source links
- rm "${modulesdir}/source"
- rm "${modulesdir}/build"
-
- # depmod
- depmod -b "${pkgdir}/usr" -F System.map "${kernver}"
-
-
-
+ rm "$modulesdir"/{source,build}
}
_package-headers() {
- pkgdesc="Headers and scripts for building modules for the ${pkgdesc}"
+ pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
depends=("${pkgbase}=${pkgver}" "pahole")
cd $_srcname
- local kernver="$(<version)"
- local _builddir="${pkgdir}/usr/lib/modules/${kernver}/build"
-
- echo -e "\n${TB}* INSTALLING HEADERS${TN}"
- install -Dt "${_builddir}" -m644 Makefile .config Module.symvers System.map version vmlinux localversion.*
- install -Dt "${_builddir}/kernel" -m644 kernel/Makefile
- install -Dt "${_builddir}/arch/x86" -m644 "arch/x86/Makefile"
- #mkdir "${_builddir}/.tmp_versions"
-
- cp -t "${_builddir}" -a include scripts
+ local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
- # add xfs and shmem for aufs building
- mkdir -p "${_builddir}"/{fs/xfs,mm}
+ echo "Installing build files..."
+ install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
+ localversion.* version vmlinux
+ install -Dt "$builddir/kernel" -m644 kernel/Makefile
+ install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
+ cp -t "$builddir" -a scripts
- # add objtool for external module building and enabled VALIDATION_STACK option
- install -Dt "${_builddir}/tools/objtool" tools/objtool/objtool
+ # required when STACK_VALIDATION is enabled
+ 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_btfids
- cp -t "${_builddir}/arch/x86" -a "arch/x86/include"
- install -Dt "${_builddir}/arch/x86/kernel" -m644 "arch/x86/kernel/asm-offsets.s"
+ echo "Installing headers..."
+ cp -t "$builddir" -a include
+ cp -t "$builddir/arch/x86" -a arch/x86/include
+ install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
- install -Dt "${_builddir}/drivers/md" -m644 drivers/md/*.h
- install -Dt "${_builddir}/net/mac80211" -m644 net/mac80211/*.h
+ install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
+ install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
- # http://bugs.archlinux.org/task/13146
- install -Dt "${_builddir}/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
+ # https://bugs.archlinux.org/task/13146
+ install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
- # http://bugs.archlinux.org/task/20402
- install -Dt "${_builddir}/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
- install -Dt "${_builddir}/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
- install -Dt "${_builddir}/drivers/media/tuners" -m644 drivers/media/tuners/*.h
+ # https://bugs.archlinux.org/task/20402
+ install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
+ install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
+ install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
- # copy in Kconfig files
- find . -name Kconfig\* -exec install -Dm644 {} "${_builddir}/{}" \;
+ # https://bugs.archlinux.org/task/71392
+ install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
- # remove unneeded stuff
- echo -e "\n${TB}* REMOVING UNNEEDED FILES${TN}"
- # remove unneeded architectures
- local _arch
- for _arch in "${_builddir}"/arch/*/; do
- [[ ${_arch} == */x86/ ]] && continue
- rm -r "${_arch}"
+ echo "Installing KConfig files..."
+ find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
+
+ echo "Removing unneeded architectures..."
+ local arch
+ for arch in "$builddir"/arch/*/; do
+ [[ $arch = */x86/ ]] && continue
+ echo "Removing $(basename "$arch")"
+ rm -r "$arch"
done
- # remove files already in linux-docs package
- rm -r "${_builddir}/Documentation"
+ echo "Removing documentation..."
+ rm -r "$builddir/Documentation"
- # remove broken symlinks
- find -L "${_builddir}" -type l -printf 'Removing %P\n' -delete
+ echo "Removing broken symlinks..."
+ find -L "$builddir" -type l -printf 'Removing %P\n' -delete
- # remove loose objects"
- find "${_builddir}" -type f -name '*.o' -printf 'Removing %P\n' -delete
+ echo "Removing loose objects..."
+ find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
- # strip scripts directory
- echo -e "\n${TB}* STRIPPING${TN}"
+ echo "Stripping build tools..."
local file
while read -rd '' file; do
case "$(file -bi "$file")" in
@@ -658,30 +638,29 @@ _package-headers() {
application/x-pie-executable\;*) # Relocatable binaries
strip -v $STRIP_SHARED "$file" ;;
esac
- done < <(find "${_builddir}" -type f -perm -u+x ! -name vmlinux -print0)
+ done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
- strip -v $STRIP_STATIC "${_builddir}/vmlinux"
+ echo "Stripping vmlinux..."
+ strip -v $STRIP_STATIC "$builddir/vmlinux"
- echo -e "\n${TB}* SYMLINKING${TN}"
+ echo "Adding symlink..."
mkdir -p "$pkgdir/usr/src"
- ln -sr "$_builddir" "$pkgdir/usr/src/$pkgbase"
-
+ ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
}
-pkgname=("$pkgbase" "$pkgbase-headers")
+pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
for _p in "${pkgname[@]}"; do
eval "package_$_p() {
- $(declare -f "_package${_p#$pkgbase}")
- _package${_p#$pkgbase}
+ $(declare -f "_package${_p#$pkgbase}")
+ _package${_p#$pkgbase}
}"
done
-
-md5sums=('121e4f65cf16ff76527020ea596fa431'
+md5sums=('fd00badc3b53d42da3d84a7cf6f53f17'
'6048a8eb052a7b2a22b4ab159278b903'
'76b9d9fa00184d10e7949bb948ca846d'
'3d8d1eeebba7d038f6d890619233e605'
- 'd6feae0f2dd1b24a853d335da003cb51'
+ '54892e41c11a34bf9a348e5653d79796'
'194c8e20ad30973c32159cb23f3be4c9'
'2faaa79055263c1cdeeaa2896e641696'
'80e419d6847d4122a23a141fd3a40e52'
@@ -689,19 +668,18 @@ md5sums=('121e4f65cf16ff76527020ea596fa431'
'b5b3d9d1cefc3955a82ec895f891abf3'
'e9dff9b551b8fa7c0b47ae5ac0b16365'
'9f86c3b9e6271cfc4440864a6857b256'
+ '0a353926bf4a790374e0f946a7039b40'
'd4c38ce51fb9a69aa92ad9b9e0199122'
'a687c26c262ccb9ad7cb54697a1476bc'
- '2249b7ca0a7dfb0b2f835a8cc4058f1e'
+ 'a35a6dea9bc12029b3a837d86d4b842a'
'80920e501b9b87bfe587edff445e6efe'
- '231fa80a33e7a926ba832d3bd66d2ce6'
'bf010dff1d7a48191d491eba2dde1227'
- 'b7867c9203f9f1ec1e3d6648a4659624'
+ '34a583709ee18ad075f497a1733aa8db'
'be1e00d93e9c2ba91ee6017b82e64194'
'28dcc1fe3029c6c316773bbcbe82954d'
- '0714c9817397ac7568afc3e327a20ddd'
+ '8fa4524671e6901bbdb47aaf8ecc0de8'
'12ad5085b7f01793980f137f2c9451cb'
'167a4267269e6a709c54e7b9ea8bf8d5'
'bf58290793d3a095ef95fb1fac2de89a'
- 'cb9384ce179d08be6c90df6d0a0977a1'
- '1613d4689c58d19417a9cd7177f6454b'
+ '6bb03b7a1b9207aaf77fb886d42bab74'
'21c98f19e883879dd3336c1fa143fd31')
diff --git a/linux-cacule-rdb/.SRCINFO b/linux-cacule-rdb/.SRCINFO
index 3d547336..bfda4c1e 100644
--- a/linux-cacule-rdb/.SRCINFO
+++ b/linux-cacule-rdb/.SRCINFO
@@ -24,7 +24,6 @@ pkgbase = linux-cacule-rdb
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/sched/0001-cacULE-5.16-full.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lru-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-arch-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-sched-perf-fix.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-blk-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-anbox.patch
@@ -32,11 +31,11 @@ pkgbase = linux-cacule-rdb
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-bfq-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-btrfs.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cfi.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-xfs-ext4-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lqx-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-net-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pf-patches.patch
@@ -45,15 +44,13 @@ pkgbase = linux-cacule-rdb
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-ksmbd.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zstd-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0002-mm-next.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0001-mm-next.patch
source = auto-cpu-optimization.sh
md5sums = 121e4f65cf16ff76527020ea596fa431
md5sums = 6048a8eb052a7b2a22b4ab159278b903
md5sums = 02e7cbd91491ad357bf2d507d58e21a0
md5sums = 76b9d9fa00184d10e7949bb948ca846d
md5sums = 3d8d1eeebba7d038f6d890619233e605
- md5sums = d6feae0f2dd1b24a853d335da003cb51
md5sums = 194c8e20ad30973c32159cb23f3be4c9
md5sums = 2faaa79055263c1cdeeaa2896e641696
md5sums = 80e419d6847d4122a23a141fd3a40e52
@@ -61,21 +58,20 @@ pkgbase = linux-cacule-rdb
md5sums = b5b3d9d1cefc3955a82ec895f891abf3
md5sums = e9dff9b551b8fa7c0b47ae5ac0b16365
md5sums = 9f86c3b9e6271cfc4440864a6857b256
+ md5sums = 0a353926bf4a790374e0f946a7039b40
md5sums = d4c38ce51fb9a69aa92ad9b9e0199122
md5sums = a687c26c262ccb9ad7cb54697a1476bc
- md5sums = 2249b7ca0a7dfb0b2f835a8cc4058f1e
+ md5sums = a35a6dea9bc12029b3a837d86d4b842a
md5sums = 80920e501b9b87bfe587edff445e6efe
- md5sums = 231fa80a33e7a926ba832d3bd66d2ce6
md5sums = bf010dff1d7a48191d491eba2dde1227
- md5sums = b7867c9203f9f1ec1e3d6648a4659624
+ md5sums = 34a583709ee18ad075f497a1733aa8db
md5sums = be1e00d93e9c2ba91ee6017b82e64194
md5sums = 28dcc1fe3029c6c316773bbcbe82954d
- md5sums = 0714c9817397ac7568afc3e327a20ddd
+ md5sums = 8fa4524671e6901bbdb47aaf8ecc0de8
md5sums = 12ad5085b7f01793980f137f2c9451cb
md5sums = 167a4267269e6a709c54e7b9ea8bf8d5
md5sums = bf58290793d3a095ef95fb1fac2de89a
- md5sums = cb9384ce179d08be6c90df6d0a0977a1
- md5sums = 1613d4689c58d19417a9cd7177f6454b
+ md5sums = 6bb03b7a1b9207aaf77fb886d42bab74
md5sums = 21c98f19e883879dd3336c1fa143fd31
pkgname = linux-cacule-rdb
@@ -90,6 +86,6 @@ pkgname = linux-cacule-rdb
provides = WIREGUARD-MODULE
pkgname = linux-cacule-rdb-headers
- pkgdesc = Headers and scripts for building modules for the Linux cacULE scheduler Kernel by CachyOS and with some other patches and other improvements
+ pkgdesc = Headers and scripts for building modules for the Linux cacULE scheduler Kernel by CachyOS and with some other patches and other improvements kernel
depends = linux-cacule-rdb=5.16.1
depends = pahole
diff --git a/linux-cacule-rdb/PKGBUILD b/linux-cacule-rdb/PKGBUILD
index 15891807..1a322e37 100644
--- a/linux-cacule-rdb/PKGBUILD
+++ b/linux-cacule-rdb/PKGBUILD
@@ -143,9 +143,6 @@ makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
if [ -n "$_use_llvm_lto" ]; then
depends=(clang llvm lld python)
fi
-if [ -n "$_use_llvm_lto" ]; then
- makedepends+=(clang llvm lld python)
-fi
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16"
source=(
"https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"
@@ -156,7 +153,7 @@ source=(
# "${_patchsource}/sched/0001-tt.patch"
"${_patchsource}/0001-lru-patches.patch"
"${_patchsource}/0001-arch-patches.patch"
- "${_patchsource}/0001-sched-perf-fix.patch"
+ # "${_patchsource}/0001-sched-perf-fix.patch"
"${_patchsource}/0001-blk-patches.patch"
"${_patchsource}/0001-pm.patch"
"${_patchsource}/0001-anbox.patch"
@@ -164,12 +161,11 @@ source=(
"${_patchsource}/0001-bfq-patches.patch"
"${_patchsource}/0001-btrfs.patch"
"${_patchsource}/0001-lrng.patch"
-# "${_patchsource}/0001-cfi.patch"
+ "${_patchsource}/0001-cfi.patch"
"${_patchsource}/0001-cpu.patch"
"${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/0001-f2fs-xfs-ext4-patches.patch"
"${_patchsource}/0001-misc.patch"
- "${_patchsource}/0001-lqx-patches.patch"
"${_patchsource}/0001-net-patches.patch"
"${_patchsource}/0001-fixes-miscellaneous.patch"
"${_patchsource}/0001-pf-patches.patch"
@@ -178,10 +174,9 @@ source=(
"${_patchsource}/0001-ksmbd.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-zstd-patches.patch"
-# "${_patchsource}/0001-zen-patches.patch"
- "${_patchsource}/0001-v4l2loopback.patch"
- "${_patchsource}/next/0002-mm-next.patch"
-# "${_patchsource}/0001-FG-KASLR.patch"
+ # "${_patchsource}/0001-zen-patches.patch"
+ "${_patchsource}/next/0001-mm-next.patch"
+ # "${_patchsource}/0001-FG-KASLR.patch"
"auto-cpu-optimization.sh"
)
@@ -287,11 +282,11 @@ prepare() {
exit
fi
-# if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
-# echo "Enabling CFI"
-# scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
-# scripts/config --enable CONFIG_CFI_CLANG
-# fi
+ # if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
+ # echo "Enabling CFI"
+ # scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
+ # scripts/config --enable CONFIG_CFI_CLANG
+ # fi
if [ -n "$_use_llvm_lto" ]; then
echo "Enable LLVM LTO"
@@ -541,9 +536,10 @@ build() {
make $LLVMOPTS -j$(nproc) all
}
+
_package() {
pkgdesc="The $pkgdesc kernel and modules"
- depends=('coreutils' 'kmod' 'initramfs')
+ depends=(coreutils kmod initramfs)
optdepends=('crda: to set the correct wireless channels of your country'
'linux-firmware: firmware images needed for some devices'
'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
@@ -570,8 +566,9 @@ _package() {
}
_package-headers() {
- pkgdesc="Headers and scripts for building modules for the ${pkgdesc}"
+ pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
depends=("${pkgbase}=${pkgver}" "pahole")
+
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
@@ -663,7 +660,6 @@ md5sums=('121e4f65cf16ff76527020ea596fa431'
'02e7cbd91491ad357bf2d507d58e21a0'
'76b9d9fa00184d10e7949bb948ca846d'
'3d8d1eeebba7d038f6d890619233e605'
- 'd6feae0f2dd1b24a853d335da003cb51'
'194c8e20ad30973c32159cb23f3be4c9'
'2faaa79055263c1cdeeaa2896e641696'
'80e419d6847d4122a23a141fd3a40e52'
@@ -671,19 +667,18 @@ md5sums=('121e4f65cf16ff76527020ea596fa431'
'b5b3d9d1cefc3955a82ec895f891abf3'
'e9dff9b551b8fa7c0b47ae5ac0b16365'
'9f86c3b9e6271cfc4440864a6857b256'
+ '0a353926bf4a790374e0f946a7039b40'
'd4c38ce51fb9a69aa92ad9b9e0199122'
'a687c26c262ccb9ad7cb54697a1476bc'
- '2249b7ca0a7dfb0b2f835a8cc4058f1e'
+ 'a35a6dea9bc12029b3a837d86d4b842a'
'80920e501b9b87bfe587edff445e6efe'
- '231fa80a33e7a926ba832d3bd66d2ce6'
'bf010dff1d7a48191d491eba2dde1227'
- 'b7867c9203f9f1ec1e3d6648a4659624'
+ '34a583709ee18ad075f497a1733aa8db'
'be1e00d93e9c2ba91ee6017b82e64194'
'28dcc1fe3029c6c316773bbcbe82954d'
- '0714c9817397ac7568afc3e327a20ddd'
+ '8fa4524671e6901bbdb47aaf8ecc0de8'
'12ad5085b7f01793980f137f2c9451cb'
'167a4267269e6a709c54e7b9ea8bf8d5'
'bf58290793d3a095ef95fb1fac2de89a'
- 'cb9384ce179d08be6c90df6d0a0977a1'
- '1613d4689c58d19417a9cd7177f6454b'
+ '6bb03b7a1b9207aaf77fb886d42bab74'
'21c98f19e883879dd3336c1fa143fd31')
diff --git a/linux-cacule/.SRCINFO b/linux-cacule/.SRCINFO
index 2d7ae4d5..a0303289 100644
--- a/linux-cacule/.SRCINFO
+++ b/linux-cacule/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-cacule
pkgdesc = Linux cacULE scheduler Kernel by CachyOS and with some other patches and other improvements
- pkgver = 5.16.1
+ pkgver = 5.16.2
pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
@@ -19,7 +19,7 @@ pkgbase = linux-cacule
makedepends = tar
makedepends = xz
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.1.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.2.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/sched/0001-cacULE-5.16-full.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lru-patches.patch
@@ -32,11 +32,11 @@ pkgbase = linux-cacule
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-bfq-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-btrfs.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cfi.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-xfs-ext4-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lqx-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-net-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pf-patches.patch
@@ -45,15 +45,14 @@ pkgbase = linux-cacule
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-ksmbd.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zstd-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0002-mm-next.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0001-mm-next.patch
source = auto-cpu-optimization.sh
- md5sums = 121e4f65cf16ff76527020ea596fa431
+ md5sums = fd00badc3b53d42da3d84a7cf6f53f17
md5sums = 6048a8eb052a7b2a22b4ab159278b903
md5sums = 02e7cbd91491ad357bf2d507d58e21a0
md5sums = 76b9d9fa00184d10e7949bb948ca846d
md5sums = 3d8d1eeebba7d038f6d890619233e605
- md5sums = d6feae0f2dd1b24a853d335da003cb51
+ md5sums = 54892e41c11a34bf9a348e5653d79796
md5sums = 194c8e20ad30973c32159cb23f3be4c9
md5sums = 2faaa79055263c1cdeeaa2896e641696
md5sums = 80e419d6847d4122a23a141fd3a40e52
@@ -61,21 +60,20 @@ pkgbase = linux-cacule
md5sums = b5b3d9d1cefc3955a82ec895f891abf3
md5sums = e9dff9b551b8fa7c0b47ae5ac0b16365
md5sums = 9f86c3b9e6271cfc4440864a6857b256
+ md5sums = 0a353926bf4a790374e0f946a7039b40
md5sums = d4c38ce51fb9a69aa92ad9b9e0199122
md5sums = a687c26c262ccb9ad7cb54697a1476bc
- md5sums = 2249b7ca0a7dfb0b2f835a8cc4058f1e
+ md5sums = a35a6dea9bc12029b3a837d86d4b842a
md5sums = 80920e501b9b87bfe587edff445e6efe
- md5sums = 231fa80a33e7a926ba832d3bd66d2ce6
md5sums = bf010dff1d7a48191d491eba2dde1227
- md5sums = b7867c9203f9f1ec1e3d6648a4659624
+ md5sums = 34a583709ee18ad075f497a1733aa8db
md5sums = be1e00d93e9c2ba91ee6017b82e64194
md5sums = 28dcc1fe3029c6c316773bbcbe82954d
- md5sums = 0714c9817397ac7568afc3e327a20ddd
+ md5sums = 8fa4524671e6901bbdb47aaf8ecc0de8
md5sums = 12ad5085b7f01793980f137f2c9451cb
md5sums = 167a4267269e6a709c54e7b9ea8bf8d5
md5sums = bf58290793d3a095ef95fb1fac2de89a
- md5sums = cb9384ce179d08be6c90df6d0a0977a1
- md5sums = 1613d4689c58d19417a9cd7177f6454b
+ md5sums = 6bb03b7a1b9207aaf77fb886d42bab74
md5sums = 21c98f19e883879dd3336c1fa143fd31
pkgname = linux-cacule
@@ -90,6 +88,8 @@ pkgname = linux-cacule
provides = WIREGUARD-MODULE
pkgname = linux-cacule-headers
- pkgdesc = Headers and scripts for building modules for the Linux cacULE scheduler Kernel by CachyOS and with some other patches and other improvements
- depends = linux-cacule=5.16.1
+ pkgdesc = Headers and scripts for building modules for the Linux cacULE scheduler Kernel by CachyOS and with some other patches and other improvements kernel
+ depends = linux-cacule=5.16.2
depends = pahole
+
+pkgname = linux-cacule-docs
diff --git a/linux-cacule/PKGBUILD b/linux-cacule/PKGBUILD
index 3f09e8c6..7b78c06d 100644
--- a/linux-cacule/PKGBUILD
+++ b/linux-cacule/PKGBUILD
@@ -122,7 +122,7 @@ else
pkgbase=linux-cacule
fi
_major=5.16
-_minor=1
+_minor=2
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -143,9 +143,6 @@ makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
if [ -n "$_use_llvm_lto" ]; then
depends=(clang llvm lld python)
fi
-if [ -n "$_use_llvm_lto" ]; then
- makedepends+=(clang llvm lld python)
-fi
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16"
source=(
"https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"
@@ -164,12 +161,11 @@ source=(
"${_patchsource}/0001-bfq-patches.patch"
"${_patchsource}/0001-btrfs.patch"
"${_patchsource}/0001-lrng.patch"
-# "${_patchsource}/0001-cfi.patch"
+ "${_patchsource}/0001-cfi.patch"
"${_patchsource}/0001-cpu.patch"
"${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/0001-f2fs-xfs-ext4-patches.patch"
"${_patchsource}/0001-misc.patch"
- "${_patchsource}/0001-lqx-patches.patch"
"${_patchsource}/0001-net-patches.patch"
"${_patchsource}/0001-fixes-miscellaneous.patch"
"${_patchsource}/0001-pf-patches.patch"
@@ -178,10 +174,9 @@ source=(
"${_patchsource}/0001-ksmbd.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-zstd-patches.patch"
-# "${_patchsource}/0001-zen-patches.patch"
- "${_patchsource}/0001-v4l2loopback.patch"
- "${_patchsource}/next/0002-mm-next.patch"
-# "${_patchsource}/0001-FG-KASLR.patch"
+ # "${_patchsource}/0001-zen-patches.patch"
+ "${_patchsource}/next/0001-mm-next.patch"
+ # "${_patchsource}/0001-FG-KASLR.patch"
"auto-cpu-optimization.sh"
)
@@ -287,11 +282,11 @@ prepare() {
exit
fi
-# if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
-# echo "Enabling CFI"
-# scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
-# scripts/config --enable CONFIG_CFI_CLANG
-# fi
+ # if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
+ # echo "Enabling CFI"
+ # scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
+ # scripts/config --enable CONFIG_CFI_CLANG
+ # fi
if [ -n "$_use_llvm_lto" ]; then
echo "Enable LLVM LTO"
@@ -541,9 +536,10 @@ build() {
make $LLVMOPTS -j$(nproc) all
}
+
_package() {
pkgdesc="The $pkgdesc kernel and modules"
- depends=('coreutils' 'kmod' 'initramfs')
+ depends=(coreutils kmod initramfs)
optdepends=('crda: to set the correct wireless channels of your country'
'linux-firmware: firmware images needed for some devices'
'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
@@ -570,8 +566,9 @@ _package() {
}
_package-headers() {
- pkgdesc="Headers and scripts for building modules for the ${pkgdesc}"
+ pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
depends=("${pkgbase}=${pkgver}" "pahole")
+
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
@@ -650,20 +647,20 @@ _package-headers() {
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
}
-pkgname=("$pkgbase" "$pkgbase-headers")
+pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
for _p in "${pkgname[@]}"; do
eval "package_$_p() {
- $(declare -f "_package${_p#$pkgbase}")
- _package${_p#$pkgbase}
+ $(declare -f "_package${_p#$pkgbase}")
+ _package${_p#$pkgbase}
}"
done
-md5sums=('121e4f65cf16ff76527020ea596fa431'
+md5sums=('fd00badc3b53d42da3d84a7cf6f53f17'
'6048a8eb052a7b2a22b4ab159278b903'
'02e7cbd91491ad357bf2d507d58e21a0'
'76b9d9fa00184d10e7949bb948ca846d'
'3d8d1eeebba7d038f6d890619233e605'
- 'd6feae0f2dd1b24a853d335da003cb51'
+ '54892e41c11a34bf9a348e5653d79796'
'194c8e20ad30973c32159cb23f3be4c9'
'2faaa79055263c1cdeeaa2896e641696'
'80e419d6847d4122a23a141fd3a40e52'
@@ -671,19 +668,18 @@ md5sums=('121e4f65cf16ff76527020ea596fa431'
'b5b3d9d1cefc3955a82ec895f891abf3'
'e9dff9b551b8fa7c0b47ae5ac0b16365'
'9f86c3b9e6271cfc4440864a6857b256'
+ '0a353926bf4a790374e0f946a7039b40'
'd4c38ce51fb9a69aa92ad9b9e0199122'
'a687c26c262ccb9ad7cb54697a1476bc'
- '2249b7ca0a7dfb0b2f835a8cc4058f1e'
+ 'a35a6dea9bc12029b3a837d86d4b842a'
'80920e501b9b87bfe587edff445e6efe'
- '231fa80a33e7a926ba832d3bd66d2ce6'
'bf010dff1d7a48191d491eba2dde1227'
- 'b7867c9203f9f1ec1e3d6648a4659624'
+ '34a583709ee18ad075f497a1733aa8db'
'be1e00d93e9c2ba91ee6017b82e64194'
'28dcc1fe3029c6c316773bbcbe82954d'
- '0714c9817397ac7568afc3e327a20ddd'
+ '8fa4524671e6901bbdb47aaf8ecc0de8'
'12ad5085b7f01793980f137f2c9451cb'
'167a4267269e6a709c54e7b9ea8bf8d5'
'bf58290793d3a095ef95fb1fac2de89a'
- 'cb9384ce179d08be6c90df6d0a0977a1'
- '1613d4689c58d19417a9cd7177f6454b'
+ '6bb03b7a1b9207aaf77fb886d42bab74'
'21c98f19e883879dd3336c1fa143fd31')
diff --git a/linux-tt/.SRCINFO b/linux-tt/.SRCINFO
index 0a8c083b..923e44e0 100644
--- a/linux-tt/.SRCINFO
+++ b/linux-tt/.SRCINFO
@@ -1,6 +1,6 @@
-pkgbase = linux-tt
+pkgbase = linux-cachyos-tt
pkgdesc = Linux TT scheduler Kernel by CachyOS and with some other patches and other improvements
- pkgver = 5.16.1
+ pkgver = 5.16.2
pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
@@ -19,12 +19,11 @@ pkgbase = linux-tt
makedepends = tar
makedepends = xz
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.1.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.2.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/sched/0001-tt.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lru-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-arch-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-sched-perf-fix.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-blk-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-anbox.patch
@@ -32,11 +31,11 @@ pkgbase = linux-tt
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-bfq-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-btrfs.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cfi.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-xfs-ext4-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lqx-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-net-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pf-patches.patch
@@ -45,15 +44,13 @@ pkgbase = linux-tt
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-ksmbd.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zstd-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0002-mm-next.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0001-mm-next.patch
source = auto-cpu-optimization.sh
- md5sums = 121e4f65cf16ff76527020ea596fa431
+ md5sums = fd00badc3b53d42da3d84a7cf6f53f17
md5sums = 6048a8eb052a7b2a22b4ab159278b903
md5sums = 855970078999580f28fa32f547d89d7f
md5sums = 76b9d9fa00184d10e7949bb948ca846d
md5sums = 3d8d1eeebba7d038f6d890619233e605
- md5sums = d6feae0f2dd1b24a853d335da003cb51
md5sums = 194c8e20ad30973c32159cb23f3be4c9
md5sums = 2faaa79055263c1cdeeaa2896e641696
md5sums = 80e419d6847d4122a23a141fd3a40e52
@@ -61,35 +58,27 @@ pkgbase = linux-tt
md5sums = b5b3d9d1cefc3955a82ec895f891abf3
md5sums = e9dff9b551b8fa7c0b47ae5ac0b16365
md5sums = 9f86c3b9e6271cfc4440864a6857b256
+ md5sums = 0a353926bf4a790374e0f946a7039b40
md5sums = d4c38ce51fb9a69aa92ad9b9e0199122
md5sums = a687c26c262ccb9ad7cb54697a1476bc
- md5sums = 2249b7ca0a7dfb0b2f835a8cc4058f1e
+ md5sums = a35a6dea9bc12029b3a837d86d4b842a
md5sums = 80920e501b9b87bfe587edff445e6efe
- md5sums = 231fa80a33e7a926ba832d3bd66d2ce6
md5sums = bf010dff1d7a48191d491eba2dde1227
- md5sums = b7867c9203f9f1ec1e3d6648a4659624
+ md5sums = 34a583709ee18ad075f497a1733aa8db
md5sums = be1e00d93e9c2ba91ee6017b82e64194
md5sums = 28dcc1fe3029c6c316773bbcbe82954d
- md5sums = 0714c9817397ac7568afc3e327a20ddd
+ md5sums = 8fa4524671e6901bbdb47aaf8ecc0de8
md5sums = 12ad5085b7f01793980f137f2c9451cb
md5sums = 167a4267269e6a709c54e7b9ea8bf8d5
md5sums = bf58290793d3a095ef95fb1fac2de89a
- md5sums = cb9384ce179d08be6c90df6d0a0977a1
- md5sums = 1613d4689c58d19417a9cd7177f6454b
+ md5sums = 6bb03b7a1b9207aaf77fb886d42bab74
md5sums = 21c98f19e883879dd3336c1fa143fd31
-pkgname = linux-tt
- pkgdesc = The Linux TT scheduler Kernel by CachyOS and with some other patches and other improvements kernel and modules
- depends = coreutils
- depends = kmod
- depends = initramfs
- optdepends = crda: to set the correct wireless channels of your country
- optdepends = linux-firmware: firmware images needed for some devices
- optdepends = modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig
- provides = VIRTUALBOX-GUEST-MODULES
- provides = WIREGUARD-MODULE
+pkgname = linux-cachyos-tt
-pkgname = linux-tt-headers
- pkgdesc = Headers and scripts for building modules for the Linux TT scheduler Kernel by CachyOS and with some other patches and other improvements
- depends = linux-tt=5.16.1
+pkgname = linux-cachyos-tt-headers
+ pkgdesc = Headers and scripts for building modules for the Linux TT scheduler Kernel by CachyOS and with some other patches and other improvements kernel
+ depends = linux-cachyos-tt=5.16.2
depends = pahole
+
+pkgname = linux-cachyos-tt-docs
diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILD
index 8545bb8f..a71d1eb4 100644
--- a/linux-tt/PKGBUILD
+++ b/linux-tt/PKGBUILD
@@ -117,12 +117,12 @@ _use_llvm_lto=
if [ -n "$_use_llvm_lto" ]; then
- pkgbase=linux-tt-lto
+ pkgbase=linux-cachyos-tt-lto
else
- pkgbase=linux-tt
+ pkgbase=linux-cachyos-tt
fi
_major=5.16
-_minor=1
+_minor=2
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -143,20 +143,17 @@ makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
if [ -n "$_use_llvm_lto" ]; then
depends=(clang llvm lld python)
fi
-if [ -n "$_use_llvm_lto" ]; then
- makedepends+=(clang llvm lld python)
-fi
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16"
source=(
"https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"
"config"
- # "${_patchsource}/sched/0001-pjrc.patch" ## not released for 5.16 right now
+# "${_patchsource}/sched/0001-prjc.patch"
# "${_patchsource}/sched/0001-cacULE-5.16-full.patch"
# "${_patchsource}/sched/0001-bore-sched.patch"
"${_patchsource}/sched/0001-tt.patch"
"${_patchsource}/0001-lru-patches.patch"
"${_patchsource}/0001-arch-patches.patch"
- "${_patchsource}/0001-sched-perf-fix.patch"
+ # "${_patchsource}/0001-sched-perf-fix.patch"
"${_patchsource}/0001-blk-patches.patch"
"${_patchsource}/0001-pm.patch"
"${_patchsource}/0001-anbox.patch"
@@ -164,12 +161,11 @@ source=(
"${_patchsource}/0001-bfq-patches.patch"
"${_patchsource}/0001-btrfs.patch"
"${_patchsource}/0001-lrng.patch"
-# "${_patchsource}/0001-cfi.patch"
+ "${_patchsource}/0001-cfi.patch"
"${_patchsource}/0001-cpu.patch"
"${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/0001-f2fs-xfs-ext4-patches.patch"
"${_patchsource}/0001-misc.patch"
- "${_patchsource}/0001-lqx-patches.patch"
"${_patchsource}/0001-net-patches.patch"
"${_patchsource}/0001-fixes-miscellaneous.patch"
"${_patchsource}/0001-pf-patches.patch"
@@ -178,10 +174,9 @@ source=(
"${_patchsource}/0001-ksmbd.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-zstd-patches.patch"
-# "${_patchsource}/0001-zen-patches.patch"
- "${_patchsource}/0001-v4l2loopback.patch"
- "${_patchsource}/next/0002-mm-next.patch"
-# "${_patchsource}/0001-FG-KASLR.patch"
+ # "${_patchsource}/0001-zen-patches.patch"
+ "${_patchsource}/next/0001-mm-next.patch"
+ # "${_patchsource}/0001-FG-KASLR.patch"
"auto-cpu-optimization.sh"
)
@@ -290,11 +285,11 @@ prepare() {
exit
fi
- if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
- echo "Enabling CFI"
- scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
- scripts/config --enable CONFIG_CFI_CLANG
- fi
+ # if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
+ # echo "Enabling CFI"
+ # scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
+ # scripts/config --enable CONFIG_CFI_CLANG
+ # fi
if [ -n "$_use_llvm_lto" ]; then
echo "Enable LLVM LTO"
@@ -544,15 +539,14 @@ build() {
make $LLVMOPTS -j$(nproc) all
}
-_package() {
+__package() {
pkgdesc="The $pkgdesc kernel and modules"
- depends=('coreutils' 'kmod' 'initramfs')
+ depends=(coreutils kmod initramfs)
optdepends=('crda: to set the correct wireless channels of your country'
'linux-firmware: firmware images needed for some devices'
'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
-
cd $_srcname
local kernver="$(<version)"
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
@@ -573,8 +567,9 @@ _package() {
}
_package-headers() {
- pkgdesc="Headers and scripts for building modules for the ${pkgdesc}"
+ pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
depends=("${pkgbase}=${pkgver}" "pahole")
+
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
@@ -653,21 +648,19 @@ _package-headers() {
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
}
-pkgname=("$pkgbase" "$pkgbase-headers")
+pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
for _p in "${pkgname[@]}"; do
eval "package_$_p() {
- $(declare -f "_package${_p#$pkgbase}")
- _package${_p#$pkgbase}
+ $(declare -f "_package${_p#$pkgbase}")
+ _package${_p#$pkgbase}
}"
done
-
-md5sums=('121e4f65cf16ff76527020ea596fa431'
+md5sums=('fd00badc3b53d42da3d84a7cf6f53f17'
'6048a8eb052a7b2a22b4ab159278b903'
'855970078999580f28fa32f547d89d7f'
'76b9d9fa00184d10e7949bb948ca846d'
'3d8d1eeebba7d038f6d890619233e605'
- 'd6feae0f2dd1b24a853d335da003cb51'
'194c8e20ad30973c32159cb23f3be4c9'
'2faaa79055263c1cdeeaa2896e641696'
'80e419d6847d4122a23a141fd3a40e52'
@@ -675,19 +668,18 @@ md5sums=('121e4f65cf16ff76527020ea596fa431'
'b5b3d9d1cefc3955a82ec895f891abf3'
'e9dff9b551b8fa7c0b47ae5ac0b16365'
'9f86c3b9e6271cfc4440864a6857b256'
+ '0a353926bf4a790374e0f946a7039b40'
'd4c38ce51fb9a69aa92ad9b9e0199122'
'a687c26c262ccb9ad7cb54697a1476bc'
- '2249b7ca0a7dfb0b2f835a8cc4058f1e'
+ 'a35a6dea9bc12029b3a837d86d4b842a'
'80920e501b9b87bfe587edff445e6efe'
- '231fa80a33e7a926ba832d3bd66d2ce6'
'bf010dff1d7a48191d491eba2dde1227'
- 'b7867c9203f9f1ec1e3d6648a4659624'
+ '34a583709ee18ad075f497a1733aa8db'
'be1e00d93e9c2ba91ee6017b82e64194'
'28dcc1fe3029c6c316773bbcbe82954d'
- '0714c9817397ac7568afc3e327a20ddd'
+ '8fa4524671e6901bbdb47aaf8ecc0de8'
'12ad5085b7f01793980f137f2c9451cb'
'167a4267269e6a709c54e7b9ea8bf8d5'
'bf58290793d3a095ef95fb1fac2de89a'
- 'cb9384ce179d08be6c90df6d0a0977a1'
- '1613d4689c58d19417a9cd7177f6454b'
+ '6bb03b7a1b9207aaf77fb886d42bab74'
'21c98f19e883879dd3336c1fa143fd31')