From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Kernel modules in initrd Date: Wed, 28 Feb 2018 22:49:50 +0100 Message-ID: <878tbcvl6p.fsf@gnu.org> References: <20180222211707.GB9758@jurong> <87eflck7ko.fsf@netris.org> <20180223020029.3babc4fa@scratchpost.org> <20180223152855.6a08f8bd@scratchpost.org> <20180223230239.GA6140@jurong> <20180225124330.2e706537@scratchpost.org> <87y3jfvkuv.fsf@gnu.org> <20180226172647.22d9e56b@scratchpost.org> <874lm23287.fsf@gnu.org> <20180227200416.6b9dd5e6@scratchpost.org> <20180227215230.44927d44@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er9bq-00051v-NP for guix-devel@gnu.org; Wed, 28 Feb 2018 16:50:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er9bm-0004NK-Je for guix-devel@gnu.org; Wed, 28 Feb 2018 16:49:58 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:55936) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1er9bm-0004Kl-8l for guix-devel@gnu.org; Wed, 28 Feb 2018 16:49:54 -0500 In-Reply-To: <20180227215230.44927d44@scratchpost.org> (Danny Milosavljevic's message of "Tue, 27 Feb 2018 21:52:30 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org Danny Milosavljevic skribis: > On Tue, 27 Feb 2018 20:32:49 +0100 > Danny Milosavljevic wrote: > >> > > P.S. How come glibc is in the initrd? Shouldn't guile have statical= ly linked it? >> > > glibc is like 50000 kiB. In that case saving 800 kiB is not really = worth it...=20=20=20=20 >> >=20 >> > One of the packages that ends up in the initrd must be dynamically >> > linked. You need to find out which one it is.=20=20 >>=20 >> 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/icz3hd36aqpj= z5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash" "-c" command)) Ouch, indeed! --8<---------------cut here---------------start------------->8--- $ guix size guile-static-stripped store item total s= elf /gnu/store/lksm6f1ahvikxnwkfs34sabbb4f7209p-guile-static-stripped-2.2.3 = 77.0 45.7 59.4% /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c 3= 0.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=E2=80=99ve fixed it in 63e48300d19b848dfe75880581338c2c73b7b0df, so we=E2= =80=99re now at 45.7=C2=A0MiB, which is still a lot, but much better. Ludo'.