[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Kernel modules in initrd
From: |
Ludovic Courtès |
Subject: |
Re: Kernel modules in initrd |
Date: |
Wed, 28 Feb 2018 22:49:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Danny Milosavljevic <address@hidden> skribis:
> On Tue, 27 Feb 2018 20:32:49 +0100
> Danny Milosavljevic <address@hidden> 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'.
- Re: Kernel modules in initrd, (continued)
- Re: Kernel modules in initrd, Mark H Weaver, 2018/02/22
- Re: Kernel modules in initrd, Danny Milosavljevic, 2018/02/22
- Re: Kernel modules in initrd, Danny Milosavljevic, 2018/02/23
- Re: Kernel modules in initrd, Andreas Enge, 2018/02/23
- Re: Kernel modules in initrd, Danny Milosavljevic, 2018/02/25
- Re: Kernel modules in initrd, Ludovic Courtès, 2018/02/26
- Re: Kernel modules in initrd, Danny Milosavljevic, 2018/02/26
- Re: Kernel modules in initrd, Ludovic Courtès, 2018/02/27
- Re: Kernel modules in initrd, Danny Milosavljevic, 2018/02/27
- Re: Kernel modules in initrd, Danny Milosavljevic, 2018/02/27
- Re: Kernel modules in initrd,
Ludovic Courtès <=
Re: Kernel modules in initrd, Ludovic Courtès, 2018/02/23