From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id B294D2204E; Sun, 02 Nov 2025 14:42:17 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id E688521FDC; Sun, 02 Nov 2025 14:42:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fhigh-b6-smtp.messagingengine.com (fhigh-b6-smtp.messagingengine.com [202.12.124.157]) by atuin.qyliss.net (Postfix) with ESMTPS id 9EDC021FDA for ; Sun, 02 Nov 2025 14:42:12 +0000 (UTC) Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id A9CD97A0064; Sun, 2 Nov 2025 09:42:10 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Sun, 02 Nov 2025 09:42:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1762094530; x=1762180930; bh=OSWyjRB1wV mOl7fOygwA7gshC8Mzn3Ox33F+u8UULzs=; b=kEtmJh0OE7KlEpJTy7lBf+uLtU x7uB9epBrjJKOLlxNzO9Qz8mso+Le+RixPpZ3v9oB8Pg1Qs69Ql+HuVmDN4SECKb 54DX77iYISl5jb8njBvJmJ4ccwyMkvXhH9uOFyi1cagQ2s+tZjBvW7FYRHNqFj8B iz0ihepuqxpc2uTXVDOAcnp3KenD2MfGyyKeC/olP0a//RTewn6t2bBnsa/aM79b NSlhgXnn3TjjLpsvdTVnvUL9pm6fcDxK6Id2aNFm4O0CxnSSUtkegvyUbaZ85aKn Z4qUKgw5/1JBecukwPR/l9jiyEE0KHJGMXGwawSD0rk/Kv2NaGsj5RzxlwaA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1762094530; x=1762180930; bh=OSWyjRB1wVmOl7fOygwA7gshC8Mzn3Ox33F +u8UULzs=; b=s3rY+OO+L4ZYz1JYIDzdyATtzVIYpxkhcAFHcggANEF1Gy7zvsu S1OYBnissTXv7CfMYnwh6ssHT5v9cXaBI3Nfv3utxAnBCp75Io6/MGMaAgKK1SGD wwe7gOkIfyImB3P7+C91wgODCJEWDq5y/AVaS++LXAMv+3AMB3RNwHeVXCflLF0e T4Ywgsv4UPrdNv3ealGDgXnkMoy8Rv92Q4e8uIVjyCJkmLQczVPf1veaK5wtubmH dZeeIJM82+PzZsyFBly+SBVxTYot/7GixewpnfIV85Am/gf1tszqBGXXFE34hNHr drP/LTfLCoolt+DFSmBmXmao4w8QP22lPKQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddujeehhedvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefujghffffkgggtsehgtderredttdejnecuhfhrohhmpeetlhihshhsrgcu tfhoshhsuceohhhisegrlhihshhsrgdrihhsqeenucggtffrrghtthgvrhhnpeetheevud fgjefghefhieejudelkeeljeegvdekueeuhffhgedvveefteevgeetieenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhihesrghlhihsshgrrd hishdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohep uggvmhhiohgsvghnohhurhesghhmrghilhdrtghomhdprhgtphhtthhopeguvghvvghlse hsphgvtghtrhhumhdqohhsrdhorhhg X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 2 Nov 2025 09:42:09 -0500 (EST) Received: by mbp.qyliss.net (Postfix, from userid 1000) id A440663CB176; Sun, 02 Nov 2025 15:42:08 +0100 (CET) From: Alyssa Ross To: Demi Marie Obenour Subject: Re: [PATCH 2/7] release/combined: Compress installation image In-Reply-To: <87pla0prky.fsf@alyssa.is> References: <20251029-updates-v1-0-401c1be2a11b@gmail.com> <20251029-updates-v1-2-401c1be2a11b@gmail.com> <87v7jyj5a3.fsf@alyssa.is> <87wm4dlkhz.fsf@alyssa.is> <62dd1a84-04a2-4836-9510-7a69d0b1d744@gmail.com> <87pla0prky.fsf@alyssa.is> Date: Sun, 02 Nov 2025 15:42:07 +0100 Message-ID: <87jz08pkcg.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: NMZWTPP4U2IU6GEKTFSVFJXS55CAUU3D X-Message-ID-Hash: NMZWTPP4U2IU6GEKTFSVFJXS55CAUU3D X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Spectrum OS Development X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Alyssa Ross writes: > Demi Marie Obenour writes: > >> On 11/1/25 18:15, Demi Marie Obenour wrote: >>> On 10/29/25 12:51, Alyssa Ross wrote: >>>> Alyssa Ross writes: >>>> >>>>> Demi Marie Obenour writes: >>>>> >>>>>> This will be needed once the B partitions are added. Otherwise, >>>>>> tar2ext4's size limit is exceeded. >>>>>> >>>>>> The timeout is increased to account for the very slow compression >>>>>> process. >>>>>> >>>>>> Signed-off-by: Demi Marie Obenour >>>>>> --- >>>>>> release/checks/integration/meson.build | 2 +- >>>>>> release/combined/eosimages.nix | 14 +++++++++----- >>>>>> 2 files changed, 10 insertions(+), 6 deletions(-) >>>>> >>>>> I haven't built this yet, so maybe I'm wrong somehow, but doesn't this >>>>> break "Try Spectrum"? GRUB isn't going to be able to loopback mount a >>>>> compressed image, I assume. That's why I keep asking what GNOME OS >>>>> does. We currently produce an image that lets you install Spectrum, = or >>>>> try it out in a live image. Do they do that too? If so, how do they >>>>> make it so that live image is bootable without being huge? Does their >>>>> installer resize partitions, perhaps? >>>>> >>>>> (I reviewed the rest of the patch anyway, but I think we're going to >>>>> need a different approach here.) >>>> >>>> Okay, I've finally got the answers I wanted about the GNOME OS install= er >>>> on Matrix. It sounds like it doesn't copy a whole disk image like >>>> eos-installer does; rather it copies individual partition images using >>>> systemd-repart. This means they can distribute small partition images, >>>> and install them into partitions with room to grow, which would solve >>>> this problem. >>>> >>>> Reusing GNOME OS's installer sounds like it would be good then, but I >>>> don't know how much work it would be, and don't want to block this work >>>> on that, so I suggest we go ahead with uncompressed, small partitions >>>> for now =E2=80=94 either sized to content or slightly bigger than cont= ent =E2=80=94 and >>>> then later on we switch to GNOME OS's installer, and then increase the >>>> sizes of the installed partitions. Only at that point would we consid= er >>>> Spectrum installs "stable". >>>=20 >>> I agree in the long term, but I found a short-term workaround: use >>> erofs instead of ext4. That compresses the giant runs of zeros down >>> to almost nothing, and its mkfs tool doesn't have the same file size >>> limitations. The only difficulty is that if we should have dm-verity >>> protection in the installer for ext4, we _really_ ought to have it >>> for erofs. That's a separate change, though. >> >> Actually, that doesn't work either. The installer doesn't find the >> erofs image. I suspect this is a udisks bug but am not particularly >> interested in fixing it, especially as this installer is going to >> be replaced. >> >> Using small installation images also doesn't work. Even with very >> little room to grow, the image is too big for mkfs.ext4 and tar2ext4 >> to handle. > > You mean that adding the B partitions makes the image too big? > >> Given this, I think the best option is to drop the live image for now. >> It can come back after switching to the GNOME OS installer. Having a >> live image isn't strictly necessary for users to use Spectrum, >> whereas an updater is. FYI: I've just pushed an integration test for the "Try Spectrum" feature of the combined image, because I'd already written it yesterday before your message came in. If we do end up temporarily dropping the live image, we can just drop that test for now as well. (But I'd like to discuss a little further before deciding to do that, in case we can identify a solution.) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRV/neXydHjZma5XLJbRZGEIw/wogUCaQdtvwAKCRBbRZGEIw/w og/xAP0eIy9kp6WL39nbrvJISGkRnsGX53QFYd2DEaJu/t9wHwEA+Xj2H1lAH8pG 2se0e29tj/RLPiCScbLTo/3tcFiYJA8= =5Q6N -----END PGP SIGNATURE----- --=-=-=--