From e3a3c56f40e83f71d2850f23ce9cb3282fa790df Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Mon, 1 Jun 2020 12:06:27 +0200 Subject: [PATCH] linux57-tkg: Update from RC7 to release --- {linux57-rc-tkg => linux57-tkg}/PKGBUILD | 19 ++++++++++--------- {linux57-rc-tkg => linux57-tkg}/README.md | 4 ++-- .../customization.cfg | 0 .../linux57-tkg-config/90-cleanup.hook | 0 .../linux57-tkg-config/cleanup | 0 .../linux57-tkg-config/config.x86_64 | 6 +++--- .../generic-desktop-profile.cfg | 0 .../ryzen-desktop-profile.cfg | 0 ...sallow-unprivileged-CLONE_NEWUSER-by.patch | 0 .../0002-clear-patches.patch | 0 .../0003-glitched-base.patch | 0 .../0003-glitched-cfs.patch | 0 .../0005-glitched-ondemand-pds.patch | 0 .../0005-glitched-pds.patch | 0 .../0005-v5.7_undead-pds099o.patch | 0 .../0006-add-acs-overrides_iommu.patch | 0 .../linux57-tkg-patches/0007-v5.7-fsync.patch | 0 .../0009-bmq_v5.7-r0.patch | 0 .../0009-glitched-bmq.patch | 0 .../0009-glitched-ondemand-bmq.patch | 0 .../linux57-tkg-patches/0011-ZFS-fix.patch | 0 21 files changed, 15 insertions(+), 14 deletions(-) rename {linux57-rc-tkg => linux57-tkg}/PKGBUILD (99%) rename {linux57-rc-tkg => linux57-tkg}/README.md (87%) rename {linux57-rc-tkg => linux57-tkg}/customization.cfg (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-config/90-cleanup.hook (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-config/cleanup (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-config/config.x86_64 (99%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-config/generic-desktop-profile.cfg (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-config/ryzen-desktop-profile.cfg (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-patches/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-patches/0002-clear-patches.patch (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-patches/0003-glitched-base.patch (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-patches/0003-glitched-cfs.patch (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-patches/0005-glitched-ondemand-pds.patch (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-patches/0005-glitched-pds.patch (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-patches/0005-v5.7_undead-pds099o.patch (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-patches/0006-add-acs-overrides_iommu.patch (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-patches/0007-v5.7-fsync.patch (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-patches/0009-bmq_v5.7-r0.patch (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-patches/0009-glitched-bmq.patch (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-patches/0009-glitched-ondemand-bmq.patch (100%) rename {linux57-rc-tkg => linux57-tkg}/linux57-tkg-patches/0011-ZFS-fix.patch (100%) diff --git a/linux57-rc-tkg/PKGBUILD b/linux57-tkg/PKGBUILD similarity index 99% rename from linux57-rc-tkg/PKGBUILD rename to linux57-tkg/PKGBUILD index 52889b3..1fe9af2 100644 --- a/linux57-rc-tkg/PKGBUILD +++ b/linux57-tkg/PKGBUILD @@ -83,7 +83,7 @@ else fi pkgname=("${pkgbase}" "${pkgbase}-headers") _basekernel=5.7 -_sub=rc7 +_sub=0 pkgver="${_basekernel}"."${_sub}" pkgrel=1 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') optdepends=('schedtool') 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_hardened.x86_64' # hardened Arch config 90-cleanup.hook @@ -119,8 +120,8 @@ source=("https://git.kernel.org/torvalds/t/linux-${_basekernel}-${_sub}.tar.gz" 0011-ZFS-fix.patch #0012-linux-hardened.patch ) -sha256sums=('a65ccee5e098c62bce7a053c322b3eba96904561a785e42c46b76069b323dc87' - '0352c5ef2030d6bbdeae2325454d20575339917411c646004e5c7b7b5794db60' +sha256sums=('de8163bb62f822d84f7a3983574ec460060bf013a78ff79cd7c979ff1ec1d7e0' + '9e516aaa68e57a07f428d8bca20ffcfca5dba505d397911ac604e00512132f7b' '1e15fc2ef3fa770217ecc63a220e5df2ddbcf3295eb4a021171e7edd4c6cc898' '66a03c246037451a77b4d448565b1d7e9368270c7d02872fbd0b5d024ed0a997' '31dc68e84aecfb7d069efb1305049122c65694676be8b955634abcf0675922a2' @@ -193,7 +194,7 @@ prepare() { ln -s "${_where}/customization.cfg" "${srcdir}" # workaround - cd "${srcdir}/linux-${_basekernel}-${_sub}" + cd "${srcdir}/linux-${_basekernel}" msg2 "Setting version..." scripts/setlocalversion --save-scmversion @@ -759,7 +760,7 @@ prepare() { # Community patches if [ -n "$_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 _community_patches=($_community_patches) for _p in ${_community_patches[@]}; do @@ -885,7 +886,7 @@ prepare() { } build() { - cd "${srcdir}/linux-${_basekernel}-${_sub}" + cd "${srcdir}/linux-${_basekernel}" # Use custom compiler paths if defined if [ -n "${CUSTOM_GCC_PATH}" ]; then @@ -923,7 +924,7 @@ hackbase() { provides=("linux=${pkgver}" "${pkgbase}" VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE) replaces=(virtualbox-guest-modules-arch wireguard-arch) - cd "${srcdir}/linux-${_basekernel}-${_sub}" + cd "${srcdir}/linux-${_basekernel}" # get kernel version local _kernver="$(