summaryrefslogtreecommitdiff
path: root/kernels
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:39:17 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:39:17 -0300
commit9870505c1111931f37362b21747dfb0a7944d636 (patch)
treec7c6e96ec1969f226b4cb6d6308255081aa657ac /kernels
parent4820778282ccb7d6709b9cfca0aefa88188b5319 (diff)
downloadabslibre-9870505c1111931f37362b21747dfb0a7944d636.tar.gz
abslibre-9870505c1111931f37362b21747dfb0a7944d636.tar.bz2
abslibre-9870505c1111931f37362b21747dfb0a7944d636.zip
linux-libre-lts-knock: fix mkinitcpio preset file for armv7h - Bug #1261 -> https://labs.parabola.nu/issues/1261
Diffstat (limited to 'kernels')
-rw-r--r--kernels/linux-libre-lts-knock/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernels/linux-libre-lts-knock/PKGBUILD b/kernels/linux-libre-lts-knock/PKGBUILD
index 2189dfede..1e6c2d070 100644
--- a/kernels/linux-libre-lts-knock/PKGBUILD
+++ b/kernels/linux-libre-lts-knock/PKGBUILD
@@ -228,7 +228,8 @@ _package() {
# install mkinitcpio preset file for kernel
if [ "${CARCH}" = "armv7h" ]; then
- sed "s|/boot/vmlinuz-%PKGBASE%|${_kernver}|g" "${srcdir}/linux.preset" |
+ sed "s|/boot/vmlinuz-%PKGBASE%|${_kernver}|g
+ s|%PKGBASE%|${pkgbase}|g" "${srcdir}/linux.preset" |
install -D -m644 /dev/stdin "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
elif [ "${CARCH}" = "x86_64" ] || [ "${CARCH}" = "i686" ]; then
sed "s|%PKGBASE%|${pkgbase}|g" "${srcdir}/linux.preset" |