Strip debugging from kernel modules during build (Fixes #383)

pull/447/head
Jan Houben 3 years ago
parent 15586d9d6e
commit 97b7b4a980
No known key found for this signature in database
GPG Key ID: 22C69579E1123CE6
  1. 3
      src/zfs/PKGBUILD.sh

@ -30,6 +30,9 @@ build() {
--with-linux=/usr/lib/modules/\${_extramodules}/build \\
--with-linux-obj=/usr/lib/modules/\${_extramodules}/build
make
# strip debugging from module, needs to happen here since it is compressed afterwards
find . -name "*.ko" -print0 | xargs -0 strip --strip-debug
}
package_${zfs_pkgname}() {

Loading…
Cancel
Save