linux-elaina/6.10.10_xanmod1-1: update, disable more uneeded kernel config

This commit is contained in:
Puqns67 2024-09-14 15:44:38 +08:00
parent dcf52407f5
commit 279fb28e3b
Signed by: Puqns67
GPG Key ID: 9669DF042554F536
3 changed files with 37 additions and 13 deletions

View File

@ -1,6 +1,6 @@
pkgbase = linux-elaina
pkgdesc = Linux kernel for Elaina, based on Xanmod stable and edited some config
pkgver = 6.10.9_xanmod1
pkgver = 6.10.10_xanmod1
pkgrel = 1
url = https://www.xanmod.org/
arch = x86_64
@ -18,7 +18,7 @@ pkgbase = linux-elaina
options = !strip
source = linux-6.10.tar.xz::https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.10.tar.xz
source = linux-6.10.tar.sign::https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.10.tar.sign
source = xanmod-patch-6.10.9_xanmod1.xz::https://sourceforge.net/projects/xanmod/files/releases/main/6.10.9-xanmod1/patch-6.10.9-xanmod1.xz/download
source = xanmod-patch-6.10.10_xanmod1.xz::https://sourceforge.net/projects/xanmod/files/releases/main/6.10.10-xanmod1/patch-6.10.10-xanmod1.xz/download
source = choose-gcc-optimization.bash
source = config.bash
source = elaina.bash
@ -26,16 +26,16 @@ pkgbase = linux-elaina
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
sha512sums = baa2487954044f991d2ae254d77d14a1f0185dd62c9f0fcaff69f586c9f906823017b8db1c4588f27b076dfa3ebb606929fec859f60ea419e7974330b9289cc2
sha512sums = SKIP
sha512sums = f3734b48733e68750cd880175b1aa404192491e29f86805275f5f0ed0cbc7eff3cf47226b533ccecd76ead4f6318fc3501a91cc29d1593cd8fe8f7dee6b54a1f
sha512sums = 34f6ba42d15f8f3319b8cfee07560f0654b1470428eee003727c8e22225bf9215c27d9a41f78425299264532e33e0b09462373649f0ffb386467c3097032af42
sha512sums = 225017227219809ec19458f3c4a9def7d22c2a6cead53f3b10d7e8e6722ec49ab5905576bffd0c50784dee99648815f5bbc65146c5d2d7bcd82b72b52f498aa7
sha512sums = d9130cfa01319836bb5d506a7a9abc818f49b988705eb2697c36424182fd52c2caa868052c43be0d2aff211d99128c45b199f4f2531e8772a28746d7de3f3dc3
sha512sums = 9ee451f4f7312385aa57f87f4924b6e370e120e483ddfe91bc780981183a0f603f3b62e1bf2fda8ec39df429cad6ef34c5d928c736c418024605bf1293b94466
sha512sums = 7a367da4a2a85d833fef888d33c22f753c999e4db520c7007419a5a05d983945104a666cfb170bbc17140e96746711e2f0c5b5f8b943796ea35bcd104a18d615
b2sums = bb243ea7493b9d63aa2df2050a3f1ae2b89ee84a20015239cf157e3f4f51c7ac5efedc8a51132b2d7482f9276ac418de6624831c8a3b806130d9c2d2124c539b
b2sums = SKIP
b2sums = f858033a4a612b4bb7a0a31ec7aba11c415ec6e7cb1e5ce2357ec723c43c87f01de28b1cc674fc521a8a6c96b038bfd80747022ed7bd421ee95ccac30d9ac8bf
b2sums = 4dc879f893e67727b0ca13209273cb41c6dd93e86d0c8ce5cc6a38716b94d069c1c3318870997426004891a96378aa07d63598ca03c0da76a90a5976eb8b25fc
b2sums = 72b9fa70c5e3ce27ecc6a5790cd76c0a5b646248e43e990d1df2e43215adfb9d9fb8cce01adef700e39bef8300af367fc0381ab5d0c774f014351d333a11a5db
b2sums = 32187bdf99e86a7758b65110cd20830d65937dab09c0d32982b6d0c8bfabdf0aa453730e17042590f421d608687b38ed230100ad880d53e2833e54199321455b
b2sums = 8d194de80707ea208c43a7728737259a4424bfc9f424e6564393908bb5ec05b449bd30d6edb9aaa853a059dfb82306ae9ad800134d174a9a5156f60c9d876b53
b2sums = bbaef1a02dd15c84f3e005e2fe427c66eef004db065aedc653f3d9b7cdb9c5c9494cc1f6c5aaec4e14671340467cb73dd531d3eebef430adba946647e99e162f
pkgname = linux-elaina
pkgdesc = The Elaina kernel and modules

View File

@ -2,7 +2,7 @@
_major=6
_minor=10
_patch=9
_patch=10
_xanmod=1
_branch=main
@ -32,16 +32,16 @@ source=("${_srcname}.tar.xz"::"https://cdn.kernel.org/pub/linux/kernel/v${_major
sha512sums=('baa2487954044f991d2ae254d77d14a1f0185dd62c9f0fcaff69f586c9f906823017b8db1c4588f27b076dfa3ebb606929fec859f60ea419e7974330b9289cc2'
'SKIP'
'f3734b48733e68750cd880175b1aa404192491e29f86805275f5f0ed0cbc7eff3cf47226b533ccecd76ead4f6318fc3501a91cc29d1593cd8fe8f7dee6b54a1f'
'34f6ba42d15f8f3319b8cfee07560f0654b1470428eee003727c8e22225bf9215c27d9a41f78425299264532e33e0b09462373649f0ffb386467c3097032af42'
'225017227219809ec19458f3c4a9def7d22c2a6cead53f3b10d7e8e6722ec49ab5905576bffd0c50784dee99648815f5bbc65146c5d2d7bcd82b72b52f498aa7'
'd9130cfa01319836bb5d506a7a9abc818f49b988705eb2697c36424182fd52c2caa868052c43be0d2aff211d99128c45b199f4f2531e8772a28746d7de3f3dc3'
'9ee451f4f7312385aa57f87f4924b6e370e120e483ddfe91bc780981183a0f603f3b62e1bf2fda8ec39df429cad6ef34c5d928c736c418024605bf1293b94466')
'7a367da4a2a85d833fef888d33c22f753c999e4db520c7007419a5a05d983945104a666cfb170bbc17140e96746711e2f0c5b5f8b943796ea35bcd104a18d615')
b2sums=('bb243ea7493b9d63aa2df2050a3f1ae2b89ee84a20015239cf157e3f4f51c7ac5efedc8a51132b2d7482f9276ac418de6624831c8a3b806130d9c2d2124c539b'
'SKIP'
'f858033a4a612b4bb7a0a31ec7aba11c415ec6e7cb1e5ce2357ec723c43c87f01de28b1cc674fc521a8a6c96b038bfd80747022ed7bd421ee95ccac30d9ac8bf'
'4dc879f893e67727b0ca13209273cb41c6dd93e86d0c8ce5cc6a38716b94d069c1c3318870997426004891a96378aa07d63598ca03c0da76a90a5976eb8b25fc'
'72b9fa70c5e3ce27ecc6a5790cd76c0a5b646248e43e990d1df2e43215adfb9d9fb8cce01adef700e39bef8300af367fc0381ab5d0c774f014351d333a11a5db'
'32187bdf99e86a7758b65110cd20830d65937dab09c0d32982b6d0c8bfabdf0aa453730e17042590f421d608687b38ed230100ad880d53e2833e54199321455b'
'8d194de80707ea208c43a7728737259a4424bfc9f424e6564393908bb5ec05b449bd30d6edb9aaa853a059dfb82306ae9ad800134d174a9a5156f60c9d876b53')
'bbaef1a02dd15c84f3e005e2fe427c66eef004db065aedc653f3d9b7cdb9c5c9494cc1f6c5aaec4e14671340467cb73dd531d3eebef430adba946647e99e162f')
validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linux Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman

View File

@ -97,7 +97,10 @@ disableAll \
CONFIG_MELLANOX_PLATFORM \
CONFIG_SURFACE_PLATFORMS \
CONFIG_SOUNDWIRE \
CONFIG_FPGA
CONFIG_FPGA \
CONFIG_I3C \
CONFIG_ANDROID_BINDER_IPC \
CONFIG_HAMRADIO
# Disable other noneeded moudles
disableAll \
@ -113,7 +116,28 @@ disableAll \
CONFIG_INPUT_JOYSTICK \
CONFIG_INPUT_TABLET \
CONFIG_INPUT_TOUCHSCREEN \
CONFIG_SECURITY_SELINUX
CONFIG_SECURITY_SELINUX \
CONFIG_ACPI_APEI # Need by CONFIG_MISC_FILESYSTEMS
# Disable x86 support
disableAll \
CONFIG_IA32_EMULATION \
CONFIG_COMPAT_32BIT_TIME
# Disable virtualization support
disable CONFIG_VIRTUALIZATION
# Disable suspend and hibernation support
disable CONFIG_SUSPEND
disable CONFIG_HIBERNATION
# Using as Server
enableAll \
CONFIG_PREEMPT_NONE_BUILD \
CONFIG_PREEMPT_NONE
disableAll \
CONFIG_PREEMPT \
CONFIG_PREEMPT_DYNAMIC
# Zswap
enableAll \