diff --git a/.SRCINFO b/.SRCINFO index 0d5a695..c4e28af 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = linux-cachyos pkgdesc = Linux EEVDF scheduler Kernel by CachyOS with other patches and improvements - pkgver = 6.3.0 - pkgrel = 5 + pkgver = 6.3.1 + pkgrel = 1 url = https://github.com/CachyOS/linux-cachyos arch = x86_64 arch = x86_64_v3 @@ -21,16 +21,16 @@ pkgbase = linux-cachyos makedepends = make makedepends = patch options = !strip - source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.3.tar.xz + source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.3.1.tar.xz source = config source = auto-cpu-optimization.sh source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.3/all/0001-cachyos-base-all.patch source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.3/sched/0001-EEVDF.patch - sha256sums = ba3491f5ed6bd270a370c440434e3d69085fcdd528922fa01e73d7657db73b1e - sha256sums = 54d0470901596286036c20b1537754ba71885cad51452bcb9bf42b92b2175cbe - sha256sums = 41c34759ed248175e905c57a25e2b0ed09b11d054fe1a8783d37459f34984106 - sha256sums = a81babd189054ed217e58688612ad274ffc06f9912094b29be7f1442aa067d42 - sha256sums = 600fe991fde111d028a22dae797367c481f8296c84f8bb0df8e19f78c819d99d + b2sums = 91c7ac2fb2bdeed323b6f0812582bd82c78f62ce3754063716a8769b30c41e35ae06b042ef27fb3c59a63ca17ec764313d7971ba2ddf84f8cf9fe5885ffe0644 + b2sums = 911ed58549df8cba56a7976b3fea8904085ab3b15cbc11138e78a00a8efd06512b02cdfb8300f19e96a0a4a21c4ab63c3804ce4346ab61eb5a9de13abe922b46 + b2sums = 11d2003b7d71258c4ca71d71c6b388f00fe9a2ddddc0270e304148396dadfd787a6cac1363934f37d0bfb098c7f5851a02ecb770e9663ffe57ff60746d532bd0 + b2sums = c935d5008fe006e6fe0e6c2e04a3bdb71602472274cfd47bae8b877f95b3df5fb5a8c9aedbcef2b5761f22487f662e043ec74de4e63cf40e3e3bb4b9b37a2a72 + b2sums = 4ab7071f2b82fdfd4d1150c8dba798a5c3e2d6eca8c01515e935179559b36ed0d95b5fda9a63cc0704dba720633b3713eec0bf963fe7f56d43fb79b4631edea0 pkgname = linux-cachyos pkgdesc = The Linux EEVDF scheduler Kernel by CachyOS with other patches and improvements kernel and modules diff --git a/PKGBUILD b/PKGBUILD index 378a6dc..700df8e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -130,9 +130,6 @@ _use_auto_optimization=${_use_auto_optimization-y} # disable debug to lower the size of the kernel _disable_debug=${_disable_debug-} -## Enable zram/zswap ZSTD compression -_zstd_compression=${_zstd_compression-} - ### Selecting the ZSTD kernel and modules compression level # ATTENTION - one of two predefined values should be selected! # 'ultra' - highest compression ratio @@ -196,17 +193,17 @@ else pkgbase=linux-$pkgsuffix fi _major=6.3 -_minor=0 +_minor=1 #_minorc=$((_minor+1)) #_rcver=rc8 pkgver=${_major}.${_minor} -#_stable=${_major}.${_minor} -_stable=${_major} +_stable=${_major}.${_minor} +#_stable=${_major} #_stablerc=${_major}-${_rcver} _srcname=linux-${_stable} #_srcname=linux-${_major} pkgdesc='Linux EEVDF scheduler Kernel by CachyOS with other patches and improvements' -pkgrel=5 +pkgrel=1 _kernver=$pkgver-$pkgrel arch=('x86_64' 'x86_64_v3') url="https://github.com/CachyOS/linux-cachyos" @@ -280,12 +277,21 @@ export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EP _die() { error "$@" ; exit; } +_make() { + test -s version + make KERNELRELEASE="$( localversion.10-pkgrel echo "${pkgbase#linux}" > localversion.20-pkgname + make ${BUILD_FLAGS[*]} defconfig + make ${BUILD_FLAGS[*]} -s kernelrelease > version + make ${BUILD_FLAGS[*]} mrproper local src for src in "${source[@]}"; do @@ -585,17 +591,6 @@ prepare() { -d LRNG_RUNTIME_FORCE_SEEDING_DISABLE fi - ### Enable zram/zswap ZSTD compression - if [ -n "$_zstd_compression" ]; then - echo "Enabling zram/swap ZSTD compression..." - scripts/config -d ZRAM_DEF_COMP_LZORLE \ - -e ZRAM_DEF_COMP_ZSTD \ - --set-str ZRAM_DEF_COMP zstd \ - -d ZSWAP_COMPRESSOR_DEFAULT_LZ4 \ - -e ZSWAP_COMPRESSOR_DEFAULT_ZSTD \ - --set-str ZSWAP_COMPRESSOR_DEFAULT zstd - fi - ### Selecting the ZSTD modules and kernel compression level [ -z "$_zstd_level_value" ] && _die "The value is empty. Choose the correct one again." @@ -658,12 +653,11 @@ prepare() { ### Rewrite configuration echo "Rewrite configuration..." - make ${BUILD_FLAGS[*]} prepare - yes "" | make ${BUILD_FLAGS[*]} config >/dev/null + _make ${BUILD_FLAGS[*]} prepare + yes "" | _make ${BUILD_FLAGS[*]} config >/dev/null diff -u ../config .config || : ### Prepared version - make ${BUILD_FLAGS[*]} -s kernelrelease > version echo "Prepared $pkgbase version $(