diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 9 insertions, 24 deletions
@@ -3,7 +3,7 @@ # Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org> pkgbase=linux-raspberrypi4 -pkgver=6.6.2.rpi2 +pkgver=6.9.2.rpi1 pkgrel=1 pkgdesc='Raspberry Pi Linux' url='https://git.kent-dobias.com/system/linux' @@ -29,8 +29,7 @@ options=('!strip') _srcname=linux-${pkgver%.*} _srctag=v${pkgver%.*}-${pkgver##*.} source=( - https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign} - "linux-$_srctag.patch::$url/rawdiff/?id=$_srctag&id2=v${pkgver%.*}" + $pkgbase::"git+file:///home/pants/dev/linux#tag=$_srctag" config # the main kernel config file ) validpgpkeys=( @@ -40,14 +39,10 @@ validpgpkeys=( 0E3A444DD0760E65901BF59679E824090BD31086 # Jaron Kent-Dobias ) # https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256sums=('73d4f6ad8dd6ac2a41ed52c2928898b7c3f2519ed5dbdb11920209a36999b77e' - 'SKIP' - 'a0fd63ef5b72e88d6b0bfa30e9dd82b0672403ccbe54abb9f0a85ea5277f7197' - '9b14d545bfda8464701548ccfdecf2f1c301469e6eead5d0733817dc9f48b4ed') -b2sums=('88fc55107834d4308d33547211a031674ffaa8e48e23d6612ba39430292b18073d49271bd3ce8c7be01d8c5668482cb1715071abfd9b1f75b06468a09f8f4eec' - 'SKIP' - '7621c829269162ee7c0c5c491b553e2539a0a402ac916dae0729b3c89804d9581c8b297f16c0ad59d79e875c92cec99c299afe58956e79ff29265cd3cd3d775d' - 'ef7d78daeb9c2658392e8a0050ef5fdb85dd14c8bc94c26914d9580c344127e29371ab0166ca44e958b6b073dc2e34ec232db9678831c5173baa6b829846e5a7') +sha256sums=('6ef48c248d919d7dd4aede8a7079be5dfc3dfc4f9e8d97f9a70fe2666dca3dac' + 'bcf31414a6e29e3fc2bb527b5014a5bc78af380c16095dc687f00968fdcf8201') +b2sums=('d3e8f7e535e63d3cca3426ee44cb767e9617d638a93253b7fd7a6f30304c16dc2e43ebf3f5d18702f9cad499fa120fbc6d610e6c592e6468fc53d4c5a83a7612' + '375e89d633ded08d64fa5dfbc4d468f1515a4ba58004ed874fb57b78cd35d5d1626a213d0bdc83bc8b7950659fb6a35f4139137ab7799d2b8306e3b67af1578f') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase @@ -56,22 +51,12 @@ export ARCH=arm64 export LLVM=1 prepare() { - cd $_srcname + cd $pkgbase 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 @@ -82,7 +67,7 @@ prepare() { } build() { - cd $_srcname + cd $pkgbase make all # make htmldocs } @@ -108,7 +93,7 @@ _package() { wireguard-arch ) - cd $_srcname + cd $pkgbase local modulesdir="$pkgdir/usr/lib/modules/$(<version)" echo "Installing boot image..." |