From f363ff276577d5fea4e2ac10b65c52be8c1e7445 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 23 Nov 2023 12:05:32 +0100 Subject: Updated PKGBUILD and version. --- PKGBUILD | 49 ++++++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 23 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index a2211a2..7264d87 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,21 +3,20 @@ # Contributor: Jan Alexander Steffens (heftig) pkgbase=linux-raspberrypi4 -pkgver=6.6.1.rpi1 +pkgver=6.6.2.rpi2 pkgrel=1 -pkgdesc='Pinebook Pro Linux' -_srctag=v${pkgver%.*}-${pkgver##*.} -url="https://git.kent-dobias.com/system/linux/log/?h=$_srctag" +pkgdesc='Raspberry Pi Linux' +url='https://git.kent-dobias.com/system/linux' arch=(aarch64) license=(GPL2) makedepends=( bc cpio gettext - git libelf pahole perl + python tar xz @@ -27,29 +26,34 @@ makedepends=( lld ) options=('!strip') -_srcname=kentdobias-linux +_srcname=linux-${pkgver%.*} +_srctag=v${pkgver%.*}-${pkgver##*.} source=( - "$_srcname::git+https://git.kent-dobias.com/system/linux?signed#tag=$_srctag" + https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign} + "linux-$_srctag.patch::$url/rawdiff/?id=$_srctag&id2=v${pkgver%.*}" config # the main kernel config file ) validpgpkeys=( ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds 647F28654894E3BD457199BE38DBBDC86092693E # Greg Kroah-Hartman A2FF3A36AAA56654109064AB19802F8B0D70FC30 # Jan Alexander Steffens (heftig) - C7E7849466FE2358343588377258734B41C31549 # David Runge 0E3A444DD0760E65901BF59679E824090BD31086 # Jaron Kent-Dobias ) -b2sums=('SKIP' +# https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc +sha256sums=('73d4f6ad8dd6ac2a41ed52c2928898b7c3f2519ed5dbdb11920209a36999b77e' + 'SKIP' + 'e22eefd7876c68255ded8893ed9d93d98fcffdc6c1c9b054afa65affd6742068' + '9b14d545bfda8464701548ccfdecf2f1c301469e6eead5d0733817dc9f48b4ed') +b2sums=('88fc55107834d4308d33547211a031674ffaa8e48e23d6612ba39430292b18073d49271bd3ce8c7be01d8c5668482cb1715071abfd9b1f75b06468a09f8f4eec' + 'SKIP' + '356d4e516367867798f00e8ff2130482ea3f35ad98eb53c05dac3f60201ac4fa22d4e435d70d844d93d15d64174b7cbd14a975f9e93c6b420bf82bfdbeb7d3a6' 'ef7d78daeb9c2658392e8a0050ef5fdb85dd14c8bc94c26914d9580c344127e29371ab0166ca44e958b6b073dc2e34ec232db9678831c5173baa6b829846e5a7') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" - -_make() { - test -s version - make ARCH=arm64 LLVM=1 KERNELRELEASE="$( localversion.10-pkgrel echo "${pkgbase#linux}" > localversion.20-pkgname - make ARCH=arm64 LLVM=1 defconfig - make ARCH=arm64 LLVM=1 -s kernelrelease > version - _make mrproper local src for src in "${source[@]}"; do src="${src%%::*}" src="${src##*/}" + src="${src%.zst}" [[ $src = *.patch ]] || continue echo "Applying patch $src..." patch -Np1 < "../$src" @@ -72,16 +74,17 @@ prepare() { echo "Setting config..." cp ../config .config - _make olddefconfig + make olddefconfig diff -u ../config .config || : + make -s kernelrelease > version echo "Prepared $pkgbase version $(