linux57-tkg: Update from RC7 to release

master
Tk-Glitch 2020-06-01 12:06:27 +07:00
parent 65b7840a70
commit e3a3c56f40
21 changed files with 15 additions and 14 deletions

@ -83,7 +83,7 @@ else
fi fi
pkgname=("${pkgbase}" "${pkgbase}-headers") pkgname=("${pkgbase}" "${pkgbase}-headers")
_basekernel=5.7 _basekernel=5.7
_sub=rc7 _sub=0
pkgver="${_basekernel}"."${_sub}" pkgver="${_basekernel}"."${_sub}"
pkgrel=1 pkgrel=1
pkgdesc='Linux-tkg' pkgdesc='Linux-tkg'
@ -93,7 +93,8 @@ license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'libelf' 'patchutils' 'flex' 'python-sphinx' 'python-sphinx_rtd_theme' 'graphviz' 'imagemagick' 'git') makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'libelf' 'patchutils' 'flex' 'python-sphinx' 'python-sphinx_rtd_theme' 'graphviz' 'imagemagick' 'git')
optdepends=('schedtool') optdepends=('schedtool')
options=('!strip') options=('!strip')
source=("https://git.kernel.org/torvalds/t/linux-${_basekernel}-${_sub}.tar.gz" source=("https://www.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.xz"
#"https://www.kernel.org/pub/linux/kernel/v5.x/patch-${pkgver}.xz"
'config.x86_64' # stock Arch config 'config.x86_64' # stock Arch config
#'config_hardened.x86_64' # hardened Arch config #'config_hardened.x86_64' # hardened Arch config
90-cleanup.hook 90-cleanup.hook
@ -119,8 +120,8 @@ source=("https://git.kernel.org/torvalds/t/linux-${_basekernel}-${_sub}.tar.gz"
0011-ZFS-fix.patch 0011-ZFS-fix.patch
#0012-linux-hardened.patch #0012-linux-hardened.patch
) )
sha256sums=('a65ccee5e098c62bce7a053c322b3eba96904561a785e42c46b76069b323dc87' sha256sums=('de8163bb62f822d84f7a3983574ec460060bf013a78ff79cd7c979ff1ec1d7e0'
'0352c5ef2030d6bbdeae2325454d20575339917411c646004e5c7b7b5794db60' '9e516aaa68e57a07f428d8bca20ffcfca5dba505d397911ac604e00512132f7b'
'1e15fc2ef3fa770217ecc63a220e5df2ddbcf3295eb4a021171e7edd4c6cc898' '1e15fc2ef3fa770217ecc63a220e5df2ddbcf3295eb4a021171e7edd4c6cc898'
'66a03c246037451a77b4d448565b1d7e9368270c7d02872fbd0b5d024ed0a997' '66a03c246037451a77b4d448565b1d7e9368270c7d02872fbd0b5d024ed0a997'
'31dc68e84aecfb7d069efb1305049122c65694676be8b955634abcf0675922a2' '31dc68e84aecfb7d069efb1305049122c65694676be8b955634abcf0675922a2'
@ -193,7 +194,7 @@ prepare() {
ln -s "${_where}/customization.cfg" "${srcdir}" # workaround ln -s "${_where}/customization.cfg" "${srcdir}" # workaround
cd "${srcdir}/linux-${_basekernel}-${_sub}" cd "${srcdir}/linux-${_basekernel}"
msg2 "Setting version..." msg2 "Setting version..."
scripts/setlocalversion --save-scmversion scripts/setlocalversion --save-scmversion
@ -759,7 +760,7 @@ prepare() {
# Community patches # Community patches
if [ -n "$_community_patches" ]; then if [ -n "$_community_patches" ]; then
if [ ! -d "$_where/../../community-patches" ]; then if [ ! -d "$_where/../../community-patches" ]; then
cd "$_where/../.." && git clone https://github.com/Frogging-Family/community-patches.git && cd "${srcdir}/linux-${_basekernel}-${_sub}" cd "$_where/../.." && git clone https://github.com/Frogging-Family/community-patches.git && cd "${srcdir}/linux-${_basekernel}"
fi fi
_community_patches=($_community_patches) _community_patches=($_community_patches)
for _p in ${_community_patches[@]}; do for _p in ${_community_patches[@]}; do
@ -885,7 +886,7 @@ prepare() {
} }
build() { build() {
cd "${srcdir}/linux-${_basekernel}-${_sub}" cd "${srcdir}/linux-${_basekernel}"
# Use custom compiler paths if defined # Use custom compiler paths if defined
if [ -n "${CUSTOM_GCC_PATH}" ]; then if [ -n "${CUSTOM_GCC_PATH}" ]; then
@ -923,7 +924,7 @@ hackbase() {
provides=("linux=${pkgver}" "${pkgbase}" VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE) provides=("linux=${pkgver}" "${pkgbase}" VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
replaces=(virtualbox-guest-modules-arch wireguard-arch) replaces=(virtualbox-guest-modules-arch wireguard-arch)
cd "${srcdir}/linux-${_basekernel}-${_sub}" cd "${srcdir}/linux-${_basekernel}"
# get kernel version # get kernel version
local _kernver="$(<version)" local _kernver="$(<version)"
@ -956,7 +957,7 @@ hackheaders() {
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel" pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
provides=("linux-headers=${pkgver}" "${pkgbase}-headers=${pkgver}") provides=("linux-headers=${pkgver}" "${pkgbase}-headers=${pkgver}")
cd "${srcdir}/linux-${_basekernel}-${_sub}" cd "${srcdir}/linux-${_basekernel}"
local builddir="${pkgdir}/usr/lib/modules/$(<version)/build" local builddir="${pkgdir}/usr/lib/modules/$(<version)/build"
msg2 "Installing build files..." msg2 "Installing build files..."

@ -2,7 +2,7 @@
### MuQSS is not yet an available option for this revision ### MuQSS is not yet an available option for this revision
A custom Linux kernel 5.7 RC with specific PDS and BMQ CPU schedulers related patchsets selector (stock CFS is also an option) and added tweaks for a nice interactivity/performance balance, aiming for the best gaming experience. A custom Linux kernel 5.7.y with specific PDS and BMQ CPU schedulers related patchsets selector (stock CFS is also an option) and added tweaks for a nice interactivity/performance balance, aiming for the best gaming experience.
Various personalization options available and userpatches support (put your own patches in the same dir as the PKGBUILD, with the ".mypatch" extension. Various personalization options available and userpatches support (put your own patches in the same dir as the PKGBUILD, with the ".mypatch" extension.
@ -34,6 +34,6 @@ You can enable support for it at the beginning of the PKGBUILD file. Make sure t
``` ```
git clone https://github.com/Frogging-Family/linux-tkg.git git clone https://github.com/Frogging-Family/linux-tkg.git
cd linux-tkg/linux57-rc-tkg cd linux-tkg/linux57-tkg
makepkg -si makepkg -si
``` ```

@ -1,13 +1,13 @@
# #
# Automatically generated file; DO NOT EDIT. # Automatically generated file; DO NOT EDIT.
# Linux/x86 5.7.0-rc1 Kernel Configuration # Linux/x86 5.7.0 Kernel Configuration
# #
# #
# Compiler: gcc (TkG-mostlyportable) 9.3.1 20200407 # Compiler: gcc (TkG-mostlyportable) 10.1.1 20200523
# #
CONFIG_CC_IS_GCC=y CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=90301 CONFIG_GCC_VERSION=100101
CONFIG_LD_VERSION=234000000 CONFIG_LD_VERSION=234000000
CONFIG_CLANG_VERSION=0 CONFIG_CLANG_VERSION=0
CONFIG_CC_CAN_LINK=y CONFIG_CC_CAN_LINK=y