summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-knock
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:37:38 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:37:38 -0300
commitf77f85b1a0eb078d7724cf91b227b143be7e8b1c (patch)
treed8dc165235ff3a8ba08f46382f95dd0100df6ba4 /kernels/linux-libre-knock
parent4ceb61e8156a9cd20a586eb779cba80c03dfbd75 (diff)
downloadabslibre-f77f85b1a0eb078d7724cf91b227b143be7e8b1c.tar.gz
abslibre-f77f85b1a0eb078d7724cf91b227b143be7e8b1c.tar.bz2
abslibre-f77f85b1a0eb078d7724cf91b227b143be7e8b1c.zip
linux-libre-knock: fix mkinitcpio preset file for armv7h - Bug #1261 -> https://labs.parabola.nu/issues/1261
Diffstat (limited to 'kernels/linux-libre-knock')
-rw-r--r--kernels/linux-libre-knock/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernels/linux-libre-knock/PKGBUILD b/kernels/linux-libre-knock/PKGBUILD
index 8b3770206..007d16af3 100644
--- a/kernels/linux-libre-knock/PKGBUILD
+++ b/kernels/linux-libre-knock/PKGBUILD
@@ -227,7 +227,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" |