all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org
Subject: Re: Kernel modules in initrd
Date: Wed, 28 Feb 2018 22:49:50 +0100	[thread overview]
Message-ID: <878tbcvl6p.fsf@gnu.org> (raw)
In-Reply-To: <20180227215230.44927d44@scratchpost.org> (Danny Milosavljevic's message of "Tue, 27 Feb 2018 21:52:30 +0100")

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> On Tue, 27 Feb 2018 20:32:49 +0100
> Danny Milosavljevic <dannym@scratchpost.org> wrote:
>
>> > > P.S. How come glibc is in the initrd?  Shouldn't guile have statically linked it?
>> > > glibc is like 50000 kiB.  In that case saving 800 kiB is not really worth it...    
>> > 
>> > One of the packages that ends up in the initrd must be dynamically
>> > linked.  You need to find out which one it is.  
>> 
>> It's because of bash-minimal.
>
> And that's because of:
>
> ./gnu/store/lksm6f1ahvikxnwkfs34sabbb4f7209p-guile-static-stripped-2.2.3/share/guile/2.2/ice-9/popen.scm:  (open-pipe* mode "/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash" "-c" command))

Ouch, indeed!

--8<---------------cut here---------------start------------->8---
$ guix size guile-static-stripped
store item                                                       total    self
/gnu/store/lksm6f1ahvikxnwkfs34sabbb4f7209p-guile-static-stripped-2.2.3    77.0    45.7  59.4%
/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c    30.3    28.8  37.4%
/gnu/store/05dvazr5wfh7lxx4zi54zfqnx6ha8vxr-bash-static-4.4.12       1.5     1.5   1.9%
/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12     31.3     1.0   1.3%
total: 77.0 MiB
--8<---------------cut here---------------end--------------->8---

How long have we had this?

I’ve fixed it in 63e48300d19b848dfe75880581338c2c73b7b0df, so we’re now
at 45.7 MiB, which is still a lot, but much better.

Ludo'.

  reply	other threads:[~2018-02-28 21:50 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-22 21:17 Kernel modules in initrd Andreas Enge
2018-02-22 21:29 ` Jan Nieuwenhuizen
2018-02-22 21:44   ` Danny Milosavljevic
2018-02-22 21:34 ` Danny Milosavljevic
2018-02-22 21:50   ` [PATCH] linux-initrd: Add ATA and SAS modules to the default set of modules Danny Milosavljevic
2018-02-27 15:03     ` Ludovic Courtès
2018-02-22 21:53   ` Kernel modules in initrd Andreas Enge
2018-02-22 22:01 ` Mark H Weaver
2018-02-23  1:00   ` Danny Milosavljevic
2018-02-23 14:28     ` Danny Milosavljevic
2018-02-23 23:02       ` Andreas Enge
2018-02-25 11:43         ` Danny Milosavljevic
2018-02-26 15:20           ` Ludovic Courtès
2018-02-26 16:26             ` Danny Milosavljevic
2018-02-27 15:02               ` Ludovic Courtès
2018-02-27 19:32                 ` Danny Milosavljevic
2018-02-27 20:52                   ` Danny Milosavljevic
2018-02-28 21:49                     ` Ludovic Courtès [this message]
2018-02-23 22:39   ` Ludovic Courtès
2018-02-24  8:28     ` ng0
2018-02-27 15:04       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878tbcvl6p.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.