This commit is contained in:
P. Jung 2022-02-09 21:24:30 +00:00
parent 7d39a00c8b
commit 578f0ed65f
3 changed files with 53 additions and 45 deletions

View File

@ -1,27 +1,33 @@
pkgbase = linux-cachyos
pkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements
pkgver = 5.16.7
pkgrel = 1
pkgver = 5.16.8
pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
license = GPL2
makedepends = kmod
makedepends = bc
makedepends = kmod
makedepends = libelf
makedepends = python-sphinx
makedepends = python-sphinx_rtd_theme
makedepends = graphviz
makedepends = imagemagick
makedepends = pahole
makedepends = cpio
makedepends = perl
makedepends = tar
makedepends = xz
makedepends = zstd
makedepends = xmlto
makedepends = git
makedepends = gcc
makedepends = gcc-libs
makedepends = glibc
makedepends = binutils
makedepends = make
makedepends = patch
options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.7.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.8.tar.xz
source = config
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-cachy.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-arch-patches-v3.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-amdpstate.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-anbox.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-bbr2-patches.patch
@ -31,9 +37,9 @@ pkgbase = linux-cachyos
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/misc/0010-ELF.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc-new.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-xfs-ext4-btrfs.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-fs-patches.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-lru-le9-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-MG-LRU-v7.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-hwmon-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-pf-patches.patch
@ -41,9 +47,10 @@ pkgbase = linux-cachyos
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-xanmod-patches.patch
source = auto-cpu-optimization.sh
sha256sums = 5751f53e8e5415eb0494ac1513765cbdea28848963999dfdb5d4e7f4c3d8a6cd
sha256sums = ddab31ab1bd7aa5b00c932a4a16ce93ec7a34fe2e0fa371277280b52a88a515b
sha256sums = 4f5f368f9ac356c19b3d40fd0eeea51010503375a4c61c4de1e766f528b04aee
sha256sums = 52aa5f05ee8addcc1ec0020f50e5f88ea1a308c2afac4a2305e1e4cf42580316
sha256sums = 655cf4835cbca6b9b028f4c7e6a8619ff50966c86c2194e97bfb4eb06485da51
sha256sums = 80b03a4c65fc49a7059c5f0c31f2b58359c0faabcc960daffd19b5d2fa025cfe
sha256sums = d471337542fbdab0eef9169fba9a85879847e07797153ea845bee90b7facf3fa
sha256sums = 4d592e6bd49ae19db05d758130ae1b6f3bb081923a7b6df0b946ea0f4524168e
sha256sums = 0b64f616404ed70757f423c879bf3edf51525bfdb78f7ec8f1ae21412d9e8a2a
sha256sums = bc91fa787a28516b317fdd9e038ed2c10b61703a9848c1a9ad286e92d51c97be
@ -52,11 +59,11 @@ pkgbase = linux-cachyos
sha256sums = 7936b61ba25f03597fd563be82c31a5756d8a82c893f69a2d569f99d375b1362
sha256sums = 915e992ed5ba2551ca648e4aa7340e9f250f6b7806287a061c1c8e40b1dc348b
sha256sums = 6c2737225c46c8776022eede29753fea10547cfd1a0c38dcab628be7a4d7c126
sha256sums = 6c0c0db81dc8cf7380f5a140f43fe400d1187a05782ff2b3623d920df4881d0c
sha256sums = 295c21ee0ee3d4362305b334f74f30be11bcbaf0b7e4fc09cc46fb16ba946c60
sha256sums = 9601ce74ce4c5473c220687e5c16437daa6b4f0fcd7cb1d2c51c14715ab12de1
sha256sums = f3092e2b4f3dbf98f47708dc2b18999968fd789067dbc91c94f747a9033f6b1a
sha256sums = e2d99ace9b54021c5ef53b4b51716816172d6304f6a823b88d5b4e9a68562aef
sha256sums = ff4215e6078864b9e556c3ceedbee8d6881b280755fcfbb97771148ebf05ef53
sha256sums = 55c025c063b0c7115b892fb6dab863bf85de1bfc93962841883eff7fc36d93b0
sha256sums = 85f753cbd1936f1f118f53b83bd9ab266d08eda6a630b5821e049c15f02bcbe4
sha256sums = 83ff3060a927c63d2ea0eaa9a2d7d7b741eff0084ecab22e758a2d7663cbfd20
sha256sums = db0d2fde8f1e994fbb4eb37c8affa3f0b339aa658f9ab5003bb2ce453a68ab95
sha256sums = 8c2e3ce0874a23e4d8df419f79dd1d045ef349bbe1474717e9455c8197f41c4e
sha256sums = 706f3b04cbce6e5e213d082694117d5fe96cdac9ccaed71e0a9f02ab62d2f431

View File

@ -92,7 +92,7 @@ _use_optimization_select=
# ATTENTION - one of two predefined values should be selected!
# 'ultra' - highest compression ratio
# 'normal' - standard compression ratio
_zstd_level='normal'
_zstd_level='ultra'
### Selecting the ZSTD module compression level
# If you want to use ZSTD compression,
@ -128,7 +128,7 @@ else
pkgbase=linux-cachyos
fi
_major=5.16
_minor=7
_minor=8
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@ -139,13 +139,12 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements'
pkgrel=1
pkgrel=2
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
options=('!strip')
makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
'graphviz' 'imagemagick' 'pahole' 'cpio' 'perl' 'tar' 'xz')
makedepends=('bc' 'kmod' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz' 'zstd' 'xmlto' 'git' 'gcc' 'gcc-libs' 'glibc' 'binutils' 'make' 'patch')
if [ -n "$_use_llvm_lto" ]; then
depends=(clang llvm lld python)
fi
@ -157,7 +156,8 @@ source=(
# "${_patchsource}/sched/0001-cacULE-5.16-full.patch"
# "${_patchsource}/sched/0001-bore-sched.patch"
# "${_patchsource}/sched/0001-tt.patch"
"${_patchsource}/0001-arch-patches.patch"
"${_patchsource}/0001-cachy.patch"
"${_patchsource}/0001-arch-patches-v3.patch"
"${_patchsource}/0001-amdpstate.patch"
"${_patchsource}/0001-anbox.patch"
"${_patchsource}/0001-bbr2-patches.patch"
@ -167,9 +167,9 @@ source=(
"${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/misc/0010-ELF.patch"
"${_patchsource}/0001-misc-new.patch"
"${_patchsource}/0001-f2fs-xfs-ext4-btrfs.patch"
"${_patchsource}/0001-fs-patches.patch"
"${_patchsource}/0001-lrng.patch"
"${_patchsource}/0001-lru-le9-patches.patch"
"${_patchsource}/0001-MG-LRU-v7.patch"
"${_patchsource}/0001-hwmon-patches.patch"
"${_patchsource}/0001-net-patches.patch"
"${_patchsource}/0001-pf-patches.patch"
@ -690,9 +690,10 @@ for _p in "${pkgname[@]}"; do
}"
done
sha256sums=('5751f53e8e5415eb0494ac1513765cbdea28848963999dfdb5d4e7f4c3d8a6cd'
'ddab31ab1bd7aa5b00c932a4a16ce93ec7a34fe2e0fa371277280b52a88a515b'
'4f5f368f9ac356c19b3d40fd0eeea51010503375a4c61c4de1e766f528b04aee'
sha256sums=('52aa5f05ee8addcc1ec0020f50e5f88ea1a308c2afac4a2305e1e4cf42580316'
'655cf4835cbca6b9b028f4c7e6a8619ff50966c86c2194e97bfb4eb06485da51'
'80b03a4c65fc49a7059c5f0c31f2b58359c0faabcc960daffd19b5d2fa025cfe'
'd471337542fbdab0eef9169fba9a85879847e07797153ea845bee90b7facf3fa'
'4d592e6bd49ae19db05d758130ae1b6f3bb081923a7b6df0b946ea0f4524168e'
'0b64f616404ed70757f423c879bf3edf51525bfdb78f7ec8f1ae21412d9e8a2a'
'bc91fa787a28516b317fdd9e038ed2c10b61703a9848c1a9ad286e92d51c97be'
@ -701,11 +702,11 @@ sha256sums=('5751f53e8e5415eb0494ac1513765cbdea28848963999dfdb5d4e7f4c3d8a6cd'
'7936b61ba25f03597fd563be82c31a5756d8a82c893f69a2d569f99d375b1362'
'915e992ed5ba2551ca648e4aa7340e9f250f6b7806287a061c1c8e40b1dc348b'
'6c2737225c46c8776022eede29753fea10547cfd1a0c38dcab628be7a4d7c126'
'6c0c0db81dc8cf7380f5a140f43fe400d1187a05782ff2b3623d920df4881d0c'
'295c21ee0ee3d4362305b334f74f30be11bcbaf0b7e4fc09cc46fb16ba946c60'
'9601ce74ce4c5473c220687e5c16437daa6b4f0fcd7cb1d2c51c14715ab12de1'
'f3092e2b4f3dbf98f47708dc2b18999968fd789067dbc91c94f747a9033f6b1a'
'e2d99ace9b54021c5ef53b4b51716816172d6304f6a823b88d5b4e9a68562aef'
'ff4215e6078864b9e556c3ceedbee8d6881b280755fcfbb97771148ebf05ef53'
'55c025c063b0c7115b892fb6dab863bf85de1bfc93962841883eff7fc36d93b0'
'85f753cbd1936f1f118f53b83bd9ab266d08eda6a630b5821e049c15f02bcbe4'
'83ff3060a927c63d2ea0eaa9a2d7d7b741eff0084ecab22e758a2d7663cbfd20'
'db0d2fde8f1e994fbb4eb37c8affa3f0b339aa658f9ab5003bb2ce453a68ab95'
'8c2e3ce0874a23e4d8df419f79dd1d045ef349bbe1474717e9455c8197f41c4e'
'706f3b04cbce6e5e213d082694117d5fe96cdac9ccaed71e0a9f02ab62d2f431'

24
config
View File

@ -585,10 +585,10 @@ CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not set
CONFIG_PM=y
CONFIG_PM_DEBUG=y
# CONFIG_PM_DEBUG is not set
# CONFIG_PM_ADVANCED_DEBUG is not set
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_PM_SLEEP_DEBUG=y
# CONFIG_PM_SLEEP_DEBUG is not set
# CONFIG_DPM_WATCHDOG is not set
CONFIG_PM_TRACE=y
CONFIG_PM_TRACE_RTC=y
@ -628,7 +628,7 @@ CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_PLATFORM_PROFILE=m
CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_DEBUG=y
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_PCI_SLOT=y
CONFIG_ACPI_CONTAINER=y
CONFIG_ACPI_HOTPLUG_MEMORY=y
@ -1084,8 +1084,8 @@ CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_MEMORY_FAILURE=y
CONFIG_HWPOISON_INJECT=m
CONFIG_TRANSPARENT_HUGEPAGE=y
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
CONFIG_ARCH_WANTS_THP_SWAP=y
CONFIG_THP_SWAP=y
CONFIG_CLEANCACHE=y
@ -2175,10 +2175,10 @@ CONFIG_PCIEAER=y
CONFIG_PCIEAER_INJECT=m
CONFIG_PCIE_ECRC=y
CONFIG_PCIEASPM=y
CONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_DEFAULT is not set
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not set
CONFIG_PCIEASPM_PERFORMANCE=y
CONFIG_PCIE_PME=y
CONFIG_PCIE_DPC=y
CONFIG_PCIE_PTM=y
@ -2200,9 +2200,9 @@ CONFIG_PCI_P2PDMA=y
CONFIG_PCI_LABEL=y
CONFIG_PCI_HYPERV=m
# CONFIG_PCIE_BUS_TUNE_OFF is not set
CONFIG_PCIE_BUS_DEFAULT=y
# CONFIG_PCIE_BUS_DEFAULT is not set
# CONFIG_PCIE_BUS_SAFE is not set
# CONFIG_PCIE_BUS_PERFORMANCE is not set
CONFIG_PCIE_BUS_PERFORMANCE=y
# CONFIG_PCIE_BUS_PEER2PEER is not set
CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_ACPI=y
@ -10026,8 +10026,8 @@ CONFIG_SECURITY_LANDLOCK=y
# CONFIG_DEFAULT_SECURITY_SELINUX is not set
# CONFIG_DEFAULT_SECURITY_SMACK is not set
# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
# CONFIG_DEFAULT_SECURITY_APPARMOR is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY_APPARMOR=y
# CONFIG_DEFAULT_SECURITY_DAC is not set
CONFIG_LSM="landlock,lockdown,yama,bpf"
#
@ -10650,7 +10650,7 @@ CONFIG_RCU_CPU_STALL_TIMEOUT=60
# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set
CONFIG_LATENCYTOP=y
# CONFIG_LATENCYTOP is not set
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_NOP_TRACER=y
CONFIG_HAVE_FUNCTION_TRACER=y