summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:31:58 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:31:58 -0300
commit6b3f50557872c8ce4eb0233170f2d4b67841f32f (patch)
treed69d3b0eece2a0651f7fe7c1280776b631b5b931 /libre
parent264d9956d417eebd4b509714852eaddb59fa13a9 (diff)
downloadabslibre-6b3f50557872c8ce4eb0233170f2d4b67841f32f.tar.gz
abslibre-6b3f50557872c8ce4eb0233170f2d4b67841f32f.tar.bz2
abslibre-6b3f50557872c8ce4eb0233170f2d4b67841f32f.zip
linux-libre-pck: fix mkinitcpio preset file for armv7h - Bug #1261 -> https://labs.parabola.nu/issues/1261
Diffstat (limited to 'libre')
-rw-r--r--libre/linux-libre-pck/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/libre/linux-libre-pck/PKGBUILD b/libre/linux-libre-pck/PKGBUILD
index 819d33c84..17d681167 100644
--- a/libre/linux-libre-pck/PKGBUILD
+++ b/libre/linux-libre-pck/PKGBUILD
@@ -208,7 +208,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" |