summaryrefslogtreecommitdiff
path: root/libre/linux-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 14:40:32 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-27 17:20:59 -0300
commitad01231ba23000c18a95b71ff3075be699f2f2ac (patch)
treec969ba546ef3671b258583b3179e8965bcbdd232 /libre/linux-libre
parent25fe6f747b9462d9ad24191043fc5dbc637a6beb (diff)
downloadabslibre-ad01231ba23000c18a95b71ff3075be699f2f2ac.tar.gz
abslibre-ad01231ba23000c18a95b71ff3075be699f2f2ac.tar.bz2
abslibre-ad01231ba23000c18a95b71ff3075be699f2f2ac.zip
linux-libre: fix mkinitcpio preset file for armv7h - Bug #1261 -> https://labs.parabola.nu/issues/1261
Diffstat (limited to 'libre/linux-libre')
-rw-r--r--libre/linux-libre/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index 99004bd69..73caf07be 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/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" |