summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-xen
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:41:23 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:41:23 -0300
commite4bc92cde6a522ee56e29ffbe053f8439f2ac799 (patch)
tree1cf4765f0645b6bd816c68665822c591c7d5462c /kernels/linux-libre-xen
parent0f8820ebd16cb6a954b4af38ac7767ddbbb1ee12 (diff)
downloadabslibre-e4bc92cde6a522ee56e29ffbe053f8439f2ac799.tar.gz
abslibre-e4bc92cde6a522ee56e29ffbe053f8439f2ac799.tar.bz2
abslibre-e4bc92cde6a522ee56e29ffbe053f8439f2ac799.zip
linux-libre-xen: fix mkinitcpio preset file for armv7h - Bug #1261 -> https://labs.parabola.nu/issues/1261
Diffstat (limited to 'kernels/linux-libre-xen')
-rw-r--r--kernels/linux-libre-xen/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernels/linux-libre-xen/PKGBUILD b/kernels/linux-libre-xen/PKGBUILD
index c60db86c0..4688d726b 100644
--- a/kernels/linux-libre-xen/PKGBUILD
+++ b/kernels/linux-libre-xen/PKGBUILD
@@ -213,7 +213,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}" = "i686" ]; then
sed "s|%PKGBASE%|${pkgbase}|g" "${srcdir}/linux.preset" |