diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-03-27 17:39:17 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-03-27 17:39:17 -0300 |
commit | 9870505c1111931f37362b21747dfb0a7944d636 (patch) | |
tree | c7c6e96ec1969f226b4cb6d6308255081aa657ac | |
parent | 4820778282ccb7d6709b9cfca0aefa88188b5319 (diff) | |
download | abslibre-9870505c1111931f37362b21747dfb0a7944d636.tar.gz abslibre-9870505c1111931f37362b21747dfb0a7944d636.tar.bz2 abslibre-9870505c1111931f37362b21747dfb0a7944d636.zip |
linux-libre-lts-knock: fix mkinitcpio preset file for armv7h - Bug #1261 -> https://labs.parabola.nu/issues/1261
-rw-r--r-- | kernels/linux-libre-lts-knock/PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernels/linux-libre-lts-knock/PKGBUILD b/kernels/linux-libre-lts-knock/PKGBUILD index 2189dfede..1e6c2d070 100644 --- a/kernels/linux-libre-lts-knock/PKGBUILD +++ b/kernels/linux-libre-lts-knock/PKGBUILD @@ -228,7 +228,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" | |