diff --git a/core/linux-rpi/PKGBUILD b/core/linux-rpi/PKGBUILD index 8fc7cb049..edaba7e82 100644 --- a/core/linux-rpi/PKGBUILD +++ b/core/linux-rpi/PKGBUILD @@ -5,11 +5,11 @@ # Contributer: Jan Alexander Steffens (heftig) pkgbase=linux-rpi -_commit=56950b317678e7a05f9440b812a7fdda9d5378e8 +_commit=8f1f0ad34428f0ff5879257664c5fe6b950b58a3 _srcname=linux-${_commit} _kernelname=${pkgbase#linux} pkgver=5.15.89 -pkgrel=3 +pkgrel=4 pkgdesc='Linux' url="http://www.kernel.org/" arch=(armv7h aarch64) @@ -27,7 +27,7 @@ source=("linux-$pkgver-${_commit:0:10}.tar.gz::https://github.com/raspberrypi/li 60-linux.hook 90-linux.hook ) -md5sums=('3b4b19b6ad336b2280d81eaa2cb5fdf7' +md5sums=('0515fc98df67f79aa937c664cda3c71f' '3bab7426d8c8818dda8353da3892a41f' 'f66a7ea3feb708d398ef57e4da4815e9' '86d4a35722b5410e3b29fc92dae15d4b' @@ -181,6 +181,13 @@ _package-headers() { rm -r "$_arch" done + if [[ $CARCH == "aarch64" ]]; then + echo "Symlinking aarch64 to arm64" + # expect aarch64 not arm64 for example: + # https://archlinuxarm.org/forum/viewtopic.php?f=60&t=16354 + ln -sr "$builddir/arch/arm64" "$builddir/arch/aarch64" + fi + echo "Removing documentation..." rm -r "$builddir/Documentation"