[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 01/01: hydra: Increase image sizes for USB image and Flash image.
From: |
Ludovic Courtès |
Subject: |
Re: 01/01: hydra: Increase image sizes for USB image and Flash image. |
Date: |
Fri, 14 Dec 2018 10:08:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi,
Leo Famulari <address@hidden> skribis:
> On Wed, Dec 12, 2018 at 09:17:23AM +0100, Giovanni Biscuolo wrote:
>> > I’m in favour of moving them elsewhere, such as %desktop-services.
>>
>> 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
>>
>> it makes sense - semantically speaking - to move sound to
>> %desktop-services since we only need sound on desktops
>
> 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 — there is no graphical interface to these machines.
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
installation-os))
scheme@(gnu system install)> (fold-services s #:target-type udev-service-type)
$3 = #<<service> type: #<service-type udev 2cb00f0> value:
#<<udev-configuration> udev: #<package address@hidden
gnu/packages/linux.scm:2039 3cd2e40> rules: (#<package address@hidden
gnu/packages/linux.scm:2101 3cd2cc0> #<package address@hidden
gnu/packages/linux.scm:2237 3cd2a80>)>>
--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’s 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 self
/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’.