On Thu, Aug 08, 2019 at 08:22:21PM +0200, Martin Husemann wrote:
> On Thu, Aug 08, 2019 at 09:13:37PM +0300, Andreas Gustafsson wrote:
> > The image already has an empty /usr/libdata/debug.  The increase in
> > size when MKDEBUG is enabled is spread out over various other
> > directories, notably /usr/lib.  For example,
> > 
> >   /usr/lib  405182 kB -> 866276 kB
> >   /usr/bin   53426 kB ->  63140 kB
> > 
> > The largest file in /usr/lib is libstdc++_pic.a, which grows from
> > 4.3 MB to 27 MB.
> 
> Heh - nice, didn't think about that.
> 
> How about: remove all *.a files from those images?
> Is there a tool to strip CTF from binaries?
> 
> Martin

I guess not a lot of people use the amd64 .img files as an alternate
sysinst for remote setups. where you reboot to rescue, dd it to disk,
then reboot to a complete netbsd install.

Reply via email to