strip the modules

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-07-04 12:16:55 -04:00
parent b8148186aa
commit dbc634950b
No known key found for this signature in database
GPG Key ID: C0B444E6A3EFD4C1

View File

@ -132,6 +132,10 @@ install_kernel(){
echo "Installing the kernel..." echo "Installing the kernel..."
make install make install
) )
(
echo "Stripping the modules..."
find /lib/modules/ -name *.ko -exec strip --strip-unneeded {} +
)
} }
install_kernel $@ install_kernel $@