Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #64530

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

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#657707: [initramfs-tools] modules for initrd are not stripped
Date 2019-07-24 15:00 +0200
Message-ID <ynp29-23i-3@gated-at.bofh.it> (permalink)
References (2 earlier) <xnWWl-8bO-1@gated-at.bofh.it> <iobcR-5FJ-7@gated-at.bofh.it> <ynnjH-1e8-1@gated-at.bofh.it> <iobcR-5FJ-7@gated-at.bofh.it> <ynnjH-1e8-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.

Ben.

-- 
Ben Hutchings
compatible: Gracefully accepts erroneous data from any source


Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#657707: [initramfs-tools] modules for initrd are not stripped Ben Hutchings <ben@decadent.org.uk> - 2019-02-05 01:40 +0100
  Bug#657707: [initramfs-tools] modules for initrd are not stripped Samuel Thibault <sthibault@debian.org> - 2019-07-24 13:10 +0200
    Bug#657707: [initramfs-tools] modules for initrd are not stripped Samuel Thibault <sthibault@debian.org> - 2019-07-24 15:00 +0200
    Bug#657707: [initramfs-tools] modules for initrd are not stripped Ben Hutchings <ben@decadent.org.uk> - 2019-07-24 15:00 +0200

csiph-web