mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-09 22:42:40 +01:00
strip the modules
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
@@ -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 $@
|
||||
|
||||
Reference in New Issue
Block a user