summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-audit
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:34:53 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:34:53 -0300
commit64cbc9237ab0ea7adcf26445a7ad1989f92edc5d (patch)
tree7c25be9a522e57292a72072a8f88508b24695987 /kernels/linux-libre-audit
parent4cd6d9a869ccd5ccbe4f219e8ceaf28e37a8725c (diff)
downloadabslibre-64cbc9237ab0ea7adcf26445a7ad1989f92edc5d.tar.gz
abslibre-64cbc9237ab0ea7adcf26445a7ad1989f92edc5d.tar.bz2
abslibre-64cbc9237ab0ea7adcf26445a7ad1989f92edc5d.zip
linux-libre-audit: fix mkinitcpio preset file for armv7h - Bug #1261 -> https://labs.parabola.nu/issues/1261
Diffstat (limited to 'kernels/linux-libre-audit')
-rw-r--r--kernels/linux-libre-audit/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernels/linux-libre-audit/PKGBUILD b/kernels/linux-libre-audit/PKGBUILD
index 6d71c74b6..3bf0258bf 100644
--- a/kernels/linux-libre-audit/PKGBUILD
+++ b/kernels/linux-libre-audit/PKGBUILD
@@ -214,7 +214,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" |