diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-03-27 17:36:57 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-03-27 17:36:57 -0300 |
commit | 4ceb61e8156a9cd20a586eb779cba80c03dfbd75 (patch) | |
tree | 24ab01035a370d8bc2a2f013aa61cb9e0180a0c5 /kernels | |
parent | 37d8e5689ab4756bb6a07e9cd7f4b61c8d420f66 (diff) | |
download | abslibre-4ceb61e8156a9cd20a586eb779cba80c03dfbd75.tar.gz abslibre-4ceb61e8156a9cd20a586eb779cba80c03dfbd75.tar.bz2 abslibre-4ceb61e8156a9cd20a586eb779cba80c03dfbd75.zip |
linux-libre-grsec-xen: fix mkinitcpio preset file for armv7h - Bug #1261 -> https://labs.parabola.nu/issues/1261
Diffstat (limited to 'kernels')
-rw-r--r-- | kernels/linux-libre-grsec-xen/PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernels/linux-libre-grsec-xen/PKGBUILD b/kernels/linux-libre-grsec-xen/PKGBUILD index 4e51c0787..51640f1c3 100644 --- a/kernels/linux-libre-grsec-xen/PKGBUILD +++ b/kernels/linux-libre-grsec-xen/PKGBUILD @@ -238,7 +238,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" | |