summaryrefslogtreecommitdiff
path: root/libre/linux-libre/PKGBUILD
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/PKGBUILD
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/PKGBUILD')
-rw-r--r--libre/linux-libre/PKGBUILD6
1 files changed, 1 insertions, 5 deletions
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"