From dbc634950b3df598b1901a9141f6b9dd93b0ed90 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Wed, 4 Jul 2018 12:16:55 -0400 Subject: [PATCH] strip the modules Signed-off-by: Jess Frazelle --- kernel-builder/build_kernel | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel-builder/build_kernel b/kernel-builder/build_kernel index da96cf0..dbe3acf 100755 --- a/kernel-builder/build_kernel +++ b/kernel-builder/build_kernel @@ -132,6 +132,10 @@ install_kernel(){ echo "Installing the kernel..." make install ) + ( + echo "Stripping the modules..." + find /lib/modules/ -name *.ko -exec strip --strip-unneeded {} + + ) } install_kernel $@