From 98431c0f2cedd313389b7120917643d825381ba7 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Sun, 19 May 2019 03:51:29 -0400 Subject: [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 --- libre/linux-libre/PKGBUILD | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libre/linux-libre/PKGBUILD') 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" -- cgit v1.2.3