summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaansu-auto2018-08-14 09:46:21 -0700
committerRaansu-auto2018-08-14 09:46:21 -0700
commit107751767738bd2fabd9c4db81f368501e877689 (patch)
treef2273720c1dfbc6db6695eab1a5264c5bab827ab
parent518df783e551bcd1ee96cb23a379dda8d82a202e (diff)
downloadaur-linux-aarch64-rock64-bin.tar.gz
Fix PKGBUILD
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c2a54658da6..85da649a04c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-aarch64-rock64-bin
pkgver = 4.4.138_1094
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ayufan-rock64/linux-kernel
arch = aarch64
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index 04916ace90d..56af639833e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ _desc="AArch64 for Rock64. This package will fetch a Debian built kernel as a te
pkgbase=linux-aarch64-rock64-bin
pkgname=('linux-aarch64-rock64-bin' 'linux-aarch64-rock64-bin-headers')
pkgver="${_pkgver}"
-pkgrel=1
+pkgrel=2
arch=('aarch64')
url="https://github.com/ayufan-rock64/linux-kernel"
license=('GPL2')
@@ -73,7 +73,7 @@ package_linux-aarch64-rock64-bin() {
cp -r boot "${pkgdir}/boot"
cp "boot/vmlinuz-${_kernver}" "${pkgdir}/boot/Image"
mkdir -p "${pkgdir}/boot/dtbs/rockchip"
- mv "usr/lib/linux-image-${_kernver}/rockchip" "${pkgdir}/boot/dtbs/rockchip"
+ mv "usr/lib/linux-image-${_kernver}/rockchip" "${pkgdir}/boot/dtbs/"
# copy kernel files
mkdir -p "${pkgdir}/usr"
@@ -140,6 +140,7 @@ package_linux-aarch64-rock64-bin-headers() {
find "${pkgdir}/usr/lib/modules/${_kernver}/build" -type d -exec chmod 755 {} \;
# strip scripts directory
+ echo "Runing strip on some files found in headers 'script' directory, it's safe to ignore errors after this point"
find "${pkgdir}/usr/lib/modules/${_kernver}/build/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do
case "$(file -bi "${binary}")" in
*application/x-sharedlib*) # Libraries (.so)