summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:36:11 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:36:11 -0300
commit37d8e5689ab4756bb6a07e9cd7f4b61c8d420f66 (patch)
tree3dbc63ff1b817df90d646f757320fe0baf25af20
parent64cbc9237ab0ea7adcf26445a7ad1989f92edc5d (diff)
downloadabslibre-37d8e5689ab4756bb6a07e9cd7f4b61c8d420f66.tar.gz
abslibre-37d8e5689ab4756bb6a07e9cd7f4b61c8d420f66.tar.bz2
abslibre-37d8e5689ab4756bb6a07e9cd7f4b61c8d420f66.zip
linux-libre-grsec-knock: fix mkinitcpio preset file for armv7h - Bug #1261 -> https://labs.parabola.nu/issues/1261
-rw-r--r--kernels/linux-libre-grsec-knock/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernels/linux-libre-grsec-knock/PKGBUILD b/kernels/linux-libre-grsec-knock/PKGBUILD
index df5cec953..5571bd9f6 100644
--- a/kernels/linux-libre-grsec-knock/PKGBUILD
+++ b/kernels/linux-libre-grsec-knock/PKGBUILD
@@ -251,7 +251,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" |