From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: 01/01: hydra: Increase image sizes for USB image and Flash image. Date: Fri, 14 Dec 2018 10:08:50 +0100 Message-ID: <87k1kc79wd.fsf@gnu.org> References: <20181208235341.20110.3064@vcs0.savannah.gnu.org> <20181208235342.94B112113E@vcs0.savannah.gnu.org> <87va423k0n.fsf@gnu.org> <87zhteekud.fsf@elephly.net> <87woofgnvw.fsf@roquette.mug.biscuolo.net> <20181213203249.GE22790@jasmine.lan> 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]:60063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXjSu-0005qH-Qm for guix-devel@gnu.org; Fri, 14 Dec 2018 04:09:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXjSn-0004Lw-TK for guix-devel@gnu.org; Fri, 14 Dec 2018 04:08:57 -0500 In-Reply-To: <20181213203249.GE22790@jasmine.lan> (Leo Famulari's message of "Thu, 13 Dec 2018 15:32:49 -0500") 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: Leo Famulari Cc: guix-devel@gnu.org Hi, Leo Famulari skribis: > On Wed, Dec 12, 2018 at 09:17:23AM +0100, Giovanni Biscuolo wrote: >> > I=E2=80=99m in favour of moving them elsewhere, such as %desktop-servi= ces. >> >> yes please: sound related services are not-so-base, we do not need them >> on installation/web/mail/DNS et. al servers (and containers) and it does >> not makes much sense to remove them an all that class of >> hosts/containers >>=20 >> it makes sense - semantically speaking - to move sound to >> %desktop-services since we only need sound on desktops >=20=20 > I would prefer if sound services were removed from the installation > system rather than from the %base-services. I am using systems based on > %base-services for music playback and other audio work. They are not > desktop systems =E2=80=94 there is no graphical interface to these machin= es. Yeah I do that as well. On closer inspection my initial diagnostic was not accurate: the ALSA udev rules are not in the installation system itself: --8<---------------cut here---------------start------------->8--- scheme@(gnu system install)> (define s (operating-system-services installat= ion-os)) scheme@(gnu system install)> (fold-services s #:target-type udev-service-ty= pe) $3 =3D #< type: # value: #< udev: # r= ules: (# #)>> --8<---------------cut here---------------end--------------->8--- Instead, the ALSA rules come from the bare-bones OS, which we purposefully add as a GC root of the installation OS (see commit 4e854b1814a9216ae7cc90aef4d82fd989a519c3). So I suppose there=E2=80=99s not much we can do in this area. The good news is that there are other optimization opportunities. :-) --8<---------------cut here---------------start------------->8--- $ guix size $(guix system build gnu/system/install.scm) | head -10 store item total s= elf /gnu/store/0zajbn9q39yva4l0zzrcshlll8qikzba-linux-libre-4.19.6 236.5 = 236.5 21.2% /gnu/store/mdw00a2sq0qqyzqygmp9035g8r2rlslj-guix-0.15.0-8.71a78ba 345.7 = 182.3 16.3% /gnu/store/1lcniyxkxkh8g73zvh2gpbccvl6ggna7-locale-2.28 91.8 = 91.8 8.2% /gnu/store/dna8kpb00kq176rz8x69yy4j33my2q55-perl-5.28.0 146.3 = 58.2 5.2% /gnu/store/ybglr7nfs8v9kpnm8vf4drg3gafnvd15-guile-static-stripped-2.2.4 = 45.9 45.9 4.1% /gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4 121.9 = 44.4 4.0% /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4 121.9 = 44.4 4.0% /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28 37.8 = 36.3 3.2% /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib 68.0 = 30.2 2.7% --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99.