summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Barrett2021-03-08 19:22:28 -0600
committerSteven Barrett2021-03-08 19:40:49 -0600
commitb2c3001d863d0bbe793768c3eeeadef95be25cdc (patch)
treec36235884c6589dc8d1d83ab33fd0442e2b34216
parent30d12044f1301335a089b951e5caf45dd1c50ff0 (diff)
downloadaur-b2c3001d863d0bbe793768c3eeeadef95be25cdc.tar.gz
Run strip on vmlinux
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6e04e8fc46e..0a1fe5d2f98 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -299,6 +299,9 @@ _package-headers() {
esac
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
+ echo "Stripping vmlinux..."
+ strip -v $STRIP_STATIC "$builddir/vmlinux"
+
echo "Adding symlink..."
mkdir -p "$pkgdir/usr/src"
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"