Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules/base/kspost.50.stripdebug.nochroot.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base/kspost.50.stripdebug.nochroot.inc')
-rw-r--r--modules/base/kspost.50.stripdebug.nochroot.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/kspost.50.stripdebug.nochroot.inc b/modules/base/kspost.50.stripdebug.nochroot.inc
index 11b6b3a..cc1c36f 100644
--- a/modules/base/kspost.50.stripdebug.nochroot.inc
+++ b/modules/base/kspost.50.stripdebug.nochroot.inc
@@ -1,4 +1,4 @@
-find $INSTALL_ROOT/usr/{sbin,bin,lib,libexec} -xdev -type f | while read file; do
+find $INSTALL_ROOT/usr/{sbin,bin,lib,libexec} -xdev -type f -and ! -name '*.ko' | while read file; do
ftype=$(file -b "$file")
[ "${ftype:0:4}" = "ELF " ] && strip -R .gnu_debugdata "$file" || :
done