summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:38:34 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:38:34 -0300
commit4820778282ccb7d6709b9cfca0aefa88188b5319 (patch)
tree998e5b24148a7c401aa4391d304f17e86be8183a
parentf77f85b1a0eb078d7724cf91b227b143be7e8b1c (diff)
downloadabslibre-4820778282ccb7d6709b9cfca0aefa88188b5319.tar.gz
abslibre-4820778282ccb7d6709b9cfca0aefa88188b5319.tar.bz2
abslibre-4820778282ccb7d6709b9cfca0aefa88188b5319.zip
linux-libre-lts-apparmor: fix mkinitcpio preset file for armv7h - Bug #1261 -> https://labs.parabola.nu/issues/1261
-rw-r--r--kernels/linux-libre-lts-apparmor/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernels/linux-libre-lts-apparmor/PKGBUILD b/kernels/linux-libre-lts-apparmor/PKGBUILD
index 51051fcf7..7a8c8eb67 100644
--- a/kernels/linux-libre-lts-apparmor/PKGBUILD
+++ b/kernels/linux-libre-lts-apparmor/PKGBUILD
@@ -216,7 +216,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" |