summaryrefslogtreecommitdiff
path: root/libre/linux-libre-lts
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2019-05-19 03:51:29 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2019-05-20 01:21:53 -0400
commit98431c0f2cedd313389b7120917643d825381ba7 (patch)
tree199d96a90b2f6d579674cbb6e7ecf084ceb7f6e5 /libre/linux-libre-lts
parente7266032c929b0af6f9e8dd15d7ebaf2ec4916cd (diff)
downloadabslibre-98431c0f2cedd313389b7120917643d825381ba7.tar.gz
abslibre-98431c0f2cedd313389b7120917643d825381ba7.tar.bz2
abslibre-98431c0f2cedd313389b7120917643d825381ba7.zip
[linux-libre][linux-libre-lts]: allow packaging with read-only startdir
* https://labs.parabola.nu/issues/2141 * https://lists.parabola.nu/pipermail/dev/2019-May/007207.html
Diffstat (limited to 'libre/linux-libre-lts')
-rw-r--r--libre/linux-libre-lts/PKGBUILD4
-rw-r--r--libre/linux-libre-lts/linux-lts.install4
2 files changed, 2 insertions, 6 deletions
diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD
index 048b9028e..089760fa0 100644
--- a/libre/linux-libre-lts/PKGBUILD
+++ b/libre/linux-libre-lts/PKGBUILD
@@ -247,10 +247,6 @@ _package() {
"
fi
- # hack to allow specifying an initially nonexisting install file
- sed "${_subst}" "${startdir}/${install}" > "${startdir}/${install}.pkg"
- true && install=${install}.pkg
-
# install mkinitcpio preset file
sed "${_subst}" ../linux-lts.preset |
install -Dm644 /dev/stdin "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
diff --git a/libre/linux-libre-lts/linux-lts.install b/libre/linux-libre-lts/linux-lts.install
index f1f033b4e..cb31b9817 100644
--- a/libre/linux-libre-lts/linux-lts.install
+++ b/libre/linux-libre-lts/linux-lts.install
@@ -7,6 +7,6 @@ post_upgrade() {
}
post_remove() {
- rm -f boot/initramfs-%PKGBASE%.img
- rm -f boot/initramfs-%PKGBASE%-fallback.img
+ rm -f boot/initramfs-linux-libre-lts.img
+ rm -f boot/initramfs-linux-libre-lts-fallback.img
}