From 1445eb5d42c24829caa225ab399bc5662c70ebba Mon Sep 17 00:00:00 2001 From: Joe Bo Run Date: Sat, 29 Jul 2023 01:17:20 +0300 Subject: [PATCH] upg linux-lts --- linux-lts/PKGBUILD-aur | 203 ------------------------------------ linux-lts/PKGBUILD-nvme-fix | 199 ----------------------------------- 2 files changed, 402 deletions(-) delete mode 100644 linux-lts/PKGBUILD-aur delete mode 100644 linux-lts/PKGBUILD-nvme-fix diff --git a/linux-lts/PKGBUILD-aur b/linux-lts/PKGBUILD-aur deleted file mode 100644 index 10a09c8..0000000 --- a/linux-lts/PKGBUILD-aur +++ /dev/null @@ -1,203 +0,0 @@ -# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com -# Contributor: Jonathon Fernyhough -# Contributor: Andreas Radke - -pkgbase=linux-lts510 -pkgver=5.10.167 -pkgrel=1 -pkgdesc='LTS 5.10 Linux' -url="https://www.kernel.org/" -arch=(x86_64) -license=(GPL2) -makedepends=( - bc kmod libelf pahole cpio perl tar xz - xmlto python-sphinx python-sphinx_rtd_theme python-six graphviz imagemagick -) -options=('!strip') -_srcname=linux-$pkgver -source=( - https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign} - config # the main kernel config file - 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch -) -validpgpkeys=( - 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds - '647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman -) -# https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -md5sums=('fe22129b0dd3bc6fd0fce4b859022f32' - 'SKIP' - '8b8fa773fe9c7938a76ba07ca2933ed8' - 'd31360693fb06a0d69c1f126350baa6d') -sha256sums=('d807f97812e566410cd13b3170009e0d7552748d4f22d608ffd4dbd7f85bf9c6' - 'SKIP' - 'ddc8d7c604a2f8373a25674d06cd377fdf80adca9bd426f4c8a50f3d52403001' - '96a72e1652314215da7140956c3abcf495cafd00811eda3cf4ce03ec5f791f1e') - -export KBUILD_BUILD_HOST=archlinux -export KBUILD_BUILD_USER=$pkgbase -export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" - -prepare() { - cd $_srcname - - echo "Setting version..." - scripts/setlocalversion --save-scmversion - echo "-$pkgrel" > localversion.10-pkgrel - echo "${pkgbase#linux}" > localversion.20-pkgname - - local src - for src in "${source[@]}"; do - src="${src%%::*}" - src="${src##*/}" - [[ $src = *.patch ]] || continue - echo "Applying patch $src..." - patch -Np1 < "../$src" - done - - echo "Setting config..." - cp ../config .config - make olddefconfig - - make -s kernelrelease > version - echo "Prepared $pkgbase version $( -# Contributor: Andreas Radke - -pkgbase=linux-lts510-nvme-fix -pkgver=5.10.147 -pkgrel=1 -pkgdesc='LTS 5.10 Linux' -url="https://www.kernel.org/" -arch=(x86_64) -license=(GPL2) -makedepends=( - bc kmod libelf pahole cpio perl tar xz - xmlto python-sphinx python-sphinx_rtd_theme python-six graphviz imagemagick -) -options=('!strip') -_srcname=linux-$pkgver -source=( - https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign} - config # the main kernel config file - 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch - 02-fix-nvme.patch -) -validpgpkeys=( - 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds - '647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman -) -# https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256sums=('85253abf097eb5013b988a400eb022eed0e0626e7e0a7daa3ab4b6bcabbced9a' - 'SKIP' - '2367f59976f6fc902d226229564a98f5d1df3a91e742a292c3deccc3e4a8ffc0' - '96a72e1652314215da7140956c3abcf495cafd00811eda3cf4ce03ec5f791f1e' - '0e14c0d788262a9781d8ba1d6e894f30877f015ccf0b6d768d759eac48bcede9') - -export KBUILD_BUILD_HOST=archlinux -export KBUILD_BUILD_USER=$pkgbase -export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" - -prepare() { - cd $_srcname - - echo "Setting version..." - scripts/setlocalversion --save-scmversion - echo "-$pkgrel" > localversion.10-pkgrel - echo "${pkgbase#linux}" > localversion.20-pkgname - - local src - for src in "${source[@]}"; do - src="${src%%::*}" - src="${src##*/}" - [[ $src = *.patch ]] || continue - echo "Applying patch $src..." - patch -Np1 < "../$src" - done - - echo "Setting config..." - cp ../config .config - make olddefconfig - make -s kernelrelease > version - echo "Prepared $pkgbase version $(