[ previous ] [ next ] [ threads ]
 
 From:  Rolf Sommerhalder <rolf dot sommerhalder at alumni dot ethz dot ch>
 To:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  guide to building a m0n0wall image from scratch: strip kernel
 Date:  Sun, 02 Oct 2005 17:24:18 +0200
A small suggestion for a tiny improvement of the procdure on the page
http://img.m0n0.ch/docbook-current/image-guide-kernel.html
for the rebuilding my development environment:

insert "strip kernel" before running "zip -9 kernel" to remove symbols
from the binary, which saves about 330 kByte (before compression):

after "make depend && make":
m0n0_1# ls -al kernel
-rwxr-xr-x  1 root  wheel  2018057 Oct  2 17:31 kernel
m0n0_1# strip kernel
m0n0_1# ls -al kernel
-rwxr-xr-x  1 root  wheel  1666248 Oct  2 17:34 kernel

Thanks to Manuel for having provided this on-line guide which works
nicely so far!

Rolf