summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2022-07-20 15:10:21 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2022-07-21 00:21:28 -0400
commit4d73f917afbbc08ee73bb6934b7e98009d24dbfc (patch)
tree44dccdf3dcc53029ff66699da3965dae54198de9
parent02a7ee1365e4c0e4a990e54e02d34141fd67d5d1 (diff)
wip linux-libre-64
-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 \