summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/linux-libre-64/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/libre/linux-libre-64/PKGBUILD b/libre/linux-libre-64/PKGBUILD
index c3210ab6a..3960ba5e5 100644
--- a/libre/linux-libre-64/PKGBUILD
+++ b/libre/linux-libre-64/PKGBUILD
@@ -41,7 +41,7 @@ _replacesoldmodules=() # '%' gets replaced with kernel suffix
pkgbase=linux-libre-64 # cross-compile over-ride
pkgver=5.18.5
-pkgrel=2
+pkgrel=1
pkgdesc="The Linux-libre kernel and modules" # TODO: merge into 'linux-libre' PKGBUILD
pkgdesc+=' 64-bit (aarch64) for Parabola armv7h' # cross-compile over-ride
rcnver=5.18.2
@@ -300,7 +300,10 @@ _package() {
echo "Installing device tree binaries..."
make ARCH=$KARCH CROSS_COMPILE=$CROSS_COMPILE INSTALL_DTBS_PATH="$pkgdir/boot/dtbs/$pkgbase" dtbs_install # cross-compile over-ride
- # armv7h presets only work with ALL_kver=$kernver
+ # kernel version auto-detection does not work for ARM kernels.
+ # it may be best to not use auto-detection at all, and use the same mechanism
+ # for all arches, eg: System.map or somthing simple like this below.
+ # NOTE: armv7h presets only work with ALL_kver=$kernver
backup=("etc/mkinitcpio.d/$pkgbase.preset")
echo "Installing mkinitcpio preset..."
sed "s|%PKGBASE%|$pkgbase|g;s|%KERNVER%|$kernver|g" ../linux-armv7h.preset \