From 65cfc14559444a271661fe1b38f967cddd0cb297 Mon Sep 17 00:00:00 2001 From: graysky Date: Wed, 29 Sep 2021 03:28:42 -0400 Subject: [PATCH] core/linux-raspberrypi4 to 5.10.63-14 Hacky fix for build where chmod ends in exit code 1 --- core/linux-raspberrypi4/PKGBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/linux-raspberrypi4/PKGBUILD b/core/linux-raspberrypi4/PKGBUILD index 5c2c838ae..9a7916e5b 100644 --- a/core/linux-raspberrypi4/PKGBUILD +++ b/core/linux-raspberrypi4/PKGBUILD @@ -11,7 +11,7 @@ _srcname=linux-${_commit} _kernelname=${pkgbase#linux} _desc="Raspberry Pi 3/4/400" pkgver=5.10.63 -pkgrel=13 +pkgrel=14 arch=('armv7h' 'aarch64') url="http://www.kernel.org/" license=('GPL2') @@ -205,7 +205,9 @@ _package-headers() { find -L "${_builddir}" -type l -printf 'Removing %P\n' -delete # Fix permissions - chmod -R u=rwX,go=rX "${_builddir}" + if ! chmod -R u=rwX,go=rX "${_builddir}"; then + true + fi # strip scripts directory local _binary _strip