mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
strip the modules
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
b8148186aa
commit
dbc634950b
|
@ -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 $@
|
||||||
|
|
Loading…
Reference in New Issue
Block a user