summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:40:43 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:40:43 -0300
commit0f8820ebd16cb6a954b4af38ac7767ddbbb1ee12 (patch)
treea4f03c8411e285d0af6207dee5563e251e125ec2
parent9870505c1111931f37362b21747dfb0a7944d636 (diff)
downloadabslibre-0f8820ebd16cb6a954b4af38ac7767ddbbb1ee12.tar.gz
abslibre-0f8820ebd16cb6a954b4af38ac7767ddbbb1ee12.tar.bz2
abslibre-0f8820ebd16cb6a954b4af38ac7767ddbbb1ee12.zip
linux-libre-rt: fix mkinitcpio preset file for armv7h - Bug #1261 -> https://labs.parabola.nu/issues/1261
-rw-r--r--kernels/linux-libre-rt/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD
index 3ff47ee9f..157108dd2 100644
--- a/kernels/linux-libre-rt/PKGBUILD
+++ b/kernels/linux-libre-rt/PKGBUILD
@@ -233,7 +233,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" |