[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#657707: [initramfs-tools] modules for initrd are not stripped



Ben Hutchings, le mer. 24 juil. 2019 13:48:00 +0100, a ecrit:
> On Wed, 2019-07-24 at 13:06 +0200, Samuel Thibault wrote:
> > I'm also hitting disk contraints with almost-100M initrds.
> > 
> > Ben Hutchings, le mar. 05 févr. 2019 01:00:31 +0100, a ecrit:
> > > On Sat, 28 Jan 2012 08:34:31 +0100 =?utf-8?q?Micha=C5=82_Miros=C5=82aw?= <mirq-boogs@rere.qmqm.pl> wrote:
> > > > Please add an option (possibly defaulted to on) to strip kernel modules and 
> > > > binaries put in initrd. When using kernel with debugging enables the 
> > > > unstripped modules are available in /lib/modules. Unneeded copy of the symbols 
> > > > in initrd image take over 80% of its size.
> > > [...]
> > 
> > FTR, plain strip shouldn't be used as such,
> > 
> > strip --strip-unneeded
> > 
> > is needed instead, to avoid breaking loading the modules.
> 
> strip breaks module signatures.

Sure, I didn't mean it wouldn't.

I just mean that even for people who don't care about signatures, strip
shouldn't be used alone, since it'll even break loading the module.

Samuel


Reply to: