From: "Ludovic Courtès" <ludo@gnu.org>
To: 70280@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>, "Ludovic Courtès" <ludo@gnu.org>
Subject: [bug#70280] [PATCH 0/5] Reducing system size: locales and initrd
Date: Mon, 8 Apr 2024 16:22:38 +0200 [thread overview]
Message-ID: <cover.1712585810.git.ludo@gnu.org> (raw)
Hello Guix,
I noticed¹ that ‘bare-bones.tmpl’ now leads to instances around
1.5 GiB, which I think is totally unreasonable, to say the least.
This patch series does the easy changes to get it to ~1.1 GiB,
which is still unreasonable, but at least should allow our installation
tests to run without having to increase the disk size again.
Thoughts?
The next but more difficult steps will be stripping Guix and Linux:
--8<---------------cut here---------------start------------->8---
$ guix size $(./pre-inst-env guix system build gnu/system/examples/bare-bones.tmpl) | head
store item total self
/gnu/store/c650m9hh6zydh5nvnm4nk0m9y17y81cp-guix-1.4.0-18.4c94b9e 706.0 400.6 30.9%
/gnu/store/4z12nyxz5vc4r2hds08p2sfm0yjhlcka-linux-libre-6.7.11 119.6 119.6 9.2%
/gnu/store/1gd9nsy4cps8fnrd1avkc9l01l7ywiai-guile-3.0.9 135.0 53.1 4.1%
/gnu/store/bhynhk0c6ssq3fqqc59fvhxjzwywsjbb-guile-3.0.9 135.0 53.1 4.1%
/gnu/store/zh8ggd9z115agdx7yllvbr6vlg4zlis8-guile-static-initrd-3.0.9 46.0 46.0 3.6%
/gnu/store/lcygm0p2d59acvwi12lwldg5c0d4czpr-git-minimal-2.41.0 148.1 41.2 3.2%
/gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35 40.6 38.8 3.0%
/gnu/store/6ncav55lbk5kqvwwflrzcr41hp5jbq0c-gcc-11.3.0-lib 75.3 34.7 2.7%
/gnu/store/b8wdz91p43s4kw26b300g4k3ap561fyk-locale-2.35 28.3 28.3 2.2%
--8<---------------cut here---------------end--------------->8---
Ludo’.
¹ https://ci.guix.gnu.org/build/3708442/details
Ludovic Courtès (5):
system: Remove ‘glibc-2.33’ from ‘%default-locale-libcs’.
system: ‘operating-system-locale-definitions’ includes the OS’ locale.
locale: Shrink ‘%default-locale-definitions’ from 34 to 10 locales.
services: build-vm: Provide only one locale.
linux-initrd: Further strip the static Guile.
doc/guix.texi | 5 +--
gnu/packages/make-bootstrap.scm | 37 ++++++++++++++++++---
gnu/services/virtualization.scm | 9 +++++
gnu/system.scm | 28 ++++++++--------
gnu/system/linux-initrd.scm | 4 +--
gnu/system/locale.scm | 58 +++++++++------------------------
6 files changed, 77 insertions(+), 64 deletions(-)
base-commit: cd45294d576975a3bff2f755764a3f46f09ea6f9
--
2.41.0
next reply other threads:[~2024-04-08 14:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-08 14:22 Ludovic Courtès [this message]
2024-04-08 14:24 ` [bug#70280] [PATCH 1/5] system: Remove ‘glibc-2.33’ from ‘%default-locale-libcs’ Ludovic Courtès
2024-04-08 14:24 ` [bug#70280] [PATCH 2/5] system: ‘operating-system-locale-definitions’ includes the OS’ locale Ludovic Courtès
2024-04-10 9:09 ` pelzflorian (Florian Pelz)
2024-04-10 9:52 ` pelzflorian (Florian Pelz)
2024-04-15 16:23 ` Ludovic Courtès
2024-04-15 22:51 ` pelzflorian (Florian Pelz)
2024-04-17 15:16 ` Ludovic Courtès
2024-04-08 14:24 ` [bug#70280] [PATCH 3/5] locale: Shrink ‘%default-locale-definitions’ from 34 to 10 locales Ludovic Courtès
2024-04-09 19:38 ` pelzflorian (Florian Pelz)
2024-04-15 16:22 ` Ludovic Courtès
2024-04-15 22:32 ` pelzflorian (Florian Pelz)
2024-04-17 15:20 ` Ludovic Courtès
2024-04-29 22:30 ` bug#70280: " Ludovic Courtès
2024-04-08 14:24 ` [bug#70280] [PATCH 4/5] services: build-vm: Provide only one locale Ludovic Courtès
2024-04-08 14:24 ` [bug#70280] [PATCH 5/5] linux-initrd: Further strip the static Guile 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1712585810.git.ludo@gnu.org \
--to=ludo@gnu.org \
--cc=70280@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).