From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id ADiWHRP+E2a4kAAAqHPOHw:P1 (envelope-from ) for ; Mon, 08 Apr 2024 16:24:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ADiWHRP+E2a4kAAAqHPOHw (envelope-from ) for ; Mon, 08 Apr 2024 16:24:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=hhxmwzMW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712586259; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=r8pa+MouYJdgSTP6DqlqH/xIViKhZOXeRreD/biglpw=; b=TJqiDR+FGCpEa5/zQ/X9YcyqZCH8D3XDtRIZIJeht3Nioj1H++5jg0kvheBvuoWm7NU/3d h7bPAnAo1urGpZ+wqapipYeaolDHya8KCEi1h3jyEEZqdp9Ss+uvMu7PbkwvnfTPc7usHq 49qE96BEXspeACDMrKsTGrYIKAYLSVKzDDHpF7zpGUMSnKxUqpXNRn7EGAIv/RvBYiZ2Yi 11b9bx1HG/pF0uMD+rntv1jWB0MDcNG8teiKu8/s+KRFX6rRGHnxGkRbpK4UAe3LlhAKlk E2yPYVsJaR7uvs/XNy4/dsiMAiGldMmRGIN/Ns2lXxxYLxzCWfnEIn5xCJC4Ew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=hhxmwzMW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712586259; a=rsa-sha256; cv=none; b=VY9V9zE00B/J/867QM6V2gHvq977rkKJaKHhek05XPxPrthUam4zBslGv9pn6anrBcRF2s 9xMneS9PVbkUP2xOr422WpXRFwFSfVYcoCt+Q417e1oZBjXM86JACfXOad5ld8oNxpwyYY FOuKDeGamFxEXwbThwij+srCUWJ4gbK1AhEOy9ed75enP1G05FjhyejviIMIN4/T3VRaMM 942Rm5W0NifnjRn5gRH4XME0djNOWDbmlZxXD2WXbuleD6nsTFf18pr+4Eu5C5bBeq0Bne s/jueodxuR6Wfx5m4BWnD+e+0n5gmZ4WsRDco1TxdX57wRYxE1q6eOOAF6z3BA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 64F1C1B8 for ; Mon, 08 Apr 2024 16:24:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtpuf-0005PF-EW; Mon, 08 Apr 2024 10:23:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rtpud-0005KM-77 for guix-patches@gnu.org; Mon, 08 Apr 2024 10:23:55 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rtpuc-000472-S9; Mon, 08 Apr 2024 10:23:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rtpuk-0000em-26; Mon, 08 Apr 2024 10:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70280] [PATCH 0/5] Reducing system size: locales and initrd Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: ludo@gnu.org, guix-patches@gnu.org Resent-Date: Mon, 08 Apr 2024 14:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70280 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70280@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by submit@debbugs.gnu.org id=B.17125861932240 (code B ref -1); Mon, 08 Apr 2024 14:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Apr 2024 14:23:13 +0000 Received: from localhost ([127.0.0.1]:47316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtptx-0000a2-9P for submit@debbugs.gnu.org; Mon, 08 Apr 2024 10:23:13 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtptv-0000Yc-HP for submit@debbugs.gnu.org; Mon, 08 Apr 2024 10:23:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rtptg-00056L-7F for guix-patches@gnu.org; Mon, 08 Apr 2024 10:22:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rtptf-000436-UU; Mon, 08 Apr 2024 10:22:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=r8pa+MouYJdgSTP6DqlqH/xIViKhZOXeRreD/biglpw=; b=hhxmwzMWhoGHaN TLfCXiYpOuazFuA71xz5482SHB2OJAGJVy/rzN5kGB4/XLsxl9SaWPdocfKTf9zHMfNlmYTbuXSDm P3Ya50v1jTpkG84/aW/6Kr8o/Jj0kX7dp+dvdrFY8rpJOTVaZ2FdVqoKh6wcXS/yg99cqB3u93M5e q9ThjQ2S5HWnVa1JyroJxUSmkGMgUG3oUGceW/Js2J8vzddldOtuRm1DGEpOqPUgOYHwnEWqcTYcn 4adrQZK6SXEKU9CkX+KeICBtt3cwOJM1axEm0tPlyVTaI8qJVQgG9B+iiDUz8w0s86fiLFv4wEfIE 10fnfes2X6mtnxMwWSKg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 8 Apr 2024 16:22:38 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.07 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -6.07 X-Migadu-Queue-Id: 64F1C1B8 X-TUID: ukWqa3QlWS2A 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