From 9511501b5c68055a1221d93ac83165eba6fe1db5 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Thu, 14 Mar 2024 03:58:33 +0200 Subject: extra/linux-pae: Readd properly --- extra/linux-pae/PKGBUILD | 389 + extra/linux-pae/config | 11754 ++++++++++++++++++ extra/linux-pae/config.i486 | 11779 ++++++++++++++++++ extra/linux-pae/config.i686 | 11842 +++++++++++++++++++ extra/linux-pae/config.pentium4 | 11842 +++++++++++++++++++ extra/linux-pae/config.x86_64 | 11708 ++++++++++++++++++ .../647F28654894E3BD457199BE38DBBDC86092693E.asc | 78 + .../83BC8889351B5DEBBB68416EB8AC08600F108CDF.asc | 22 + .../ABAF11C65A2970B130ABE3C479BE3E4300411886.asc | 37 + extra/linux-pae/no-ultra-zstd.patch | 15 + 10 files changed, 59466 insertions(+) create mode 100644 extra/linux-pae/PKGBUILD create mode 100644 extra/linux-pae/config create mode 100644 extra/linux-pae/config.i486 create mode 100644 extra/linux-pae/config.i686 create mode 100644 extra/linux-pae/config.pentium4 create mode 100644 extra/linux-pae/config.x86_64 create mode 100644 extra/linux-pae/keys/pgp/647F28654894E3BD457199BE38DBBDC86092693E.asc create mode 100644 extra/linux-pae/keys/pgp/83BC8889351B5DEBBB68416EB8AC08600F108CDF.asc create mode 100644 extra/linux-pae/keys/pgp/ABAF11C65A2970B130ABE3C479BE3E4300411886.asc create mode 100644 extra/linux-pae/no-ultra-zstd.patch diff --git a/extra/linux-pae/PKGBUILD b/extra/linux-pae/PKGBUILD new file mode 100644 index 00000000..f3ddd482 --- /dev/null +++ b/extra/linux-pae/PKGBUILD @@ -0,0 +1,389 @@ +# Maintainer: Jan Alexander Steffens (heftig) + +pkgbase=linux +pkgver=6.8.arch1 +pkgrel=1 +pkgdesc='Linux' +url='https://github.com/archlinux/linux' +arch=(x86_64) +license=(GPL2) +makedepends=( + bc + cpio + gettext + libelf + pahole + perl + python + tar + xz + + # htmldocs + graphviz + imagemagick + python-sphinx + python-yaml + texlive-latexextra +) +options=('!strip') +_srcname=linux-${pkgver%.*} +_srctag=v${pkgver%.*}-${pkgver##*.} +source=( + https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign} + $url/releases/download/$_srctag/linux-$_srctag.patch.zst{,.sig} + config # the main kernel config file +) +validpgpkeys=( + ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds + 647F28654894E3BD457199BE38DBBDC86092693E # Greg Kroah-Hartman + 83BC8889351B5DEBBB68416EB8AC08600F108CDF # Jan Alexander Steffens (heftig) +) +# https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc +sha256sums=('c969dea4e8bb6be991bbf7c010ba0e0a5643a3a8d8fb0a2aaa053406f1e965f3' + 'SKIP' + '1edc3ce4e5cb716d6a89ebd1bc24b4509e65d9f18899f59e4c40e5d3ad4233ba' + 'SKIP' + '03e735507e01dd3fb845d3a9dfa9a7a7286fcb57d213b4b116dcba7e088407f0') +b2sums=('c6f17f816cea16e629f63e9379b98888713f57b2c5173306926471f139a9d612a0c74e119341f8075390e55e203d787d9edeb4ad5a064b18870f6f0f7ffaafb2' + 'SKIP' + '1b5e7cb354f6a3e9423ce98b5829d70be36f3ad44b6067dc21070db4543d0813a751fd79e1dcca5fdf1defe6adfe5c4005c48bd326d84dcbea4ccf32906e22b4' + 'SKIP' + '167299818c921749eafeb83327eeddbfe4db9f5659e297d86cfd8ceb6006c504d8dd772f32b0fe13935cb2ed8937324fca122510bf07f107db0b270e2f26906a') + +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..." + echo "-$pkgrel" > localversion.10-pkgrel + echo "${pkgbase#linux}" > localversion.20-pkgname + + local src + for src in "${source[@]}"; do + src="${src%%::*}" + src="${src##*/}" + src="${src%.zst}" + [[ $src = *.patch ]] || continue + echo "Applying patch $src..." + patch -Np1 < "../$src" + done + + echo "Setting config..." + cp ../config .config + make olddefconfig + diff -u ../config .config || : + + make -s kernelrelease > version + echo "Prepared $pkgbase version $( $@ + + quiet_cmd_zstd22 = ZSTD22 $@ +- cmd_zstd22 = cat $(real-prereqs) | $(ZSTD) -22 --ultra > $@ ++ cmd_zstd22 = cat $(real-prereqs) | $(ZSTD) -19 > $@ + + quiet_cmd_zstd22_with_size = ZSTD22 $@ +- cmd_zstd22_with_size = { cat $(real-prereqs) | $(ZSTD) -22 --ultra; $(size_append); } > $@ ++ cmd_zstd22_with_size = { cat $(real-prereqs) | $(ZSTD) -19; $(size_append); } > $@ + + # ASM offsets -- cgit v1.2.3-70-g09d2