aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgen_initramfs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/gen_initramfs.sh b/gen_initramfs.sh
index 5b855d4c..2d1b7719 100755
--- a/gen_initramfs.sh
+++ b/gen_initramfs.sh
@@ -533,6 +533,8 @@ append_modules() {
print_list ${!group_modules} > "${TEMP}/initramfs-modules-${KV}-temp/etc/modules/${group}"
done
cd "${TEMP}/initramfs-modules-${KV}-temp/"
+ # module strip:
+ find -iname *.ko -exec strip --strip-debug {} \;
log_future_cpio_content
find . | cpio ${CPIO_ARGS} --append -F "${CPIO}" \
|| gen_die "compressing modules cpio"