summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:33:09 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:33:09 -0300
commit4cd6d9a869ccd5ccbe4f219e8ceaf28e37a8725c (patch)
tree3039135a28ecff72cd99e3c9ca490a34729ed2b3
parent6b3f50557872c8ce4eb0233170f2d4b67841f32f (diff)
downloadabslibre-4cd6d9a869ccd5ccbe4f219e8ceaf28e37a8725c.tar.gz
abslibre-4cd6d9a869ccd5ccbe4f219e8ceaf28e37a8725c.tar.bz2
abslibre-4cd6d9a869ccd5ccbe4f219e8ceaf28e37a8725c.zip
linux-libre-apparmor: fix mkinitcpio preset file for armv7h - Bug #1261 -> https://labs.parabola.nu/issues/1261
-rw-r--r--kernels/linux-libre-apparmor/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernels/linux-libre-apparmor/PKGBUILD b/kernels/linux-libre-apparmor/PKGBUILD
index 7b297bcce..fa3021eca 100644
--- a/kernels/linux-libre-apparmor/PKGBUILD
+++ b/kernels/linux-libre-apparmor/PKGBUILD
@@ -215,7 +215,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" |