summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/linux-libre-lts/PKGBUILD4
-rw-r--r--libre/linux-libre-lts/linux-lts.install4
-rw-r--r--libre/linux-libre/PKGBUILD6
-rw-r--r--libre/linux-libre/linux.install6
4 files changed, 5 insertions, 15 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
}
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index d890e2897..0124e5d52 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -10,7 +10,7 @@
# Based on linux package
pkgbase=linux-libre # Build stock kernel
-#pkgbase=linux-libre-custom # Build kernel with a different name
+#pkgbase=linux-libre-custom # Build kernel with a different name (NOTE: hard-coded into linux.install)
_srcbasever=5.1-gnu
_srcver=5.1.3-gnu
@@ -225,10 +225,6 @@ _package() {
"
fi
- # hack to allow specifying an initially nonexisting install file
- sed "$subst" "$startdir/$install" > "$startdir/$install.pkg"
- true && install=$install.pkg
-
# fill in mkinitcpio preset and pacman hooks
sed "$subst" ../linux.preset | install -Dm644 /dev/stdin \
"$pkgdir/etc/mkinitcpio.d/$pkgbase.preset"
diff --git a/libre/linux-libre/linux.install b/libre/linux-libre/linux.install
index 19a43a524..dc4440d29 100644
--- a/libre/linux-libre/linux.install
+++ b/libre/linux-libre/linux.install
@@ -7,8 +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.img
+ rm -f boot/initramfs-linux-libre-fallback.img
}
-
-# vim:set ft=sh ts=8 sts=2 sw=2 et: