From 36970e65cdd0eb571ee5a15e57910bd1c13185f7 Mon Sep 17 00:00:00 2001 From: Jan Houben Date: Wed, 20 Apr 2022 15:53:09 +0200 Subject: [PATCH] Replace custom strip command with INSTALL_MOD_STRIP=1 --- src/zfs/PKGBUILD.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/zfs/PKGBUILD.sh b/src/zfs/PKGBUILD.sh index 0916625..5411c94 100755 --- a/src/zfs/PKGBUILD.sh +++ b/src/zfs/PKGBUILD.sh @@ -30,9 +30,6 @@ 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}() { @@ -44,7 +41,7 @@ package_${zfs_pkgname}() { ${zfs_replaces} cd "${zfs_workdir}" - make DESTDIR="\${pkgdir}" INSTALL_MOD_PATH=\${pkgdir}/usr install + make DESTDIR="\${pkgdir}" INSTALL_MOD_PATH=\${pkgdir}/usr INSTALL_MOD_STRIP=1 install # Remove src dir rm -r "\${pkgdir}"/usr/src