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 534BF21523; Sun, 02 Nov 2025 12:05:57 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 2057E2151C; Sun, 02 Nov 2025 12:05:55 +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-b5-smtp.messagingengine.com (fhigh-b5-smtp.messagingengine.com [202.12.124.156]) by atuin.qyliss.net (Postfix) with ESMTPS id 33B5C214C7 for ; Sun, 02 Nov 2025 12:05:54 +0000 (UTC) Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id 12FCD7A0191; Sun, 2 Nov 2025 07:05:53 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Sun, 02 Nov 2025 07:05:53 -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=1762085152; x=1762171552; bh=WXJ8NvDLTc b0Ue5yGCXw+kr5fDyNY+1akRfPMJ4ZGk8=; b=KfX9CIK1ayATz1v2+tvjcxBukK GYcZAPPHOeA20McynH18ZHKx49DiuermTjeZu0+GaxgIpfsa9ASo2r98rVzJGo4n aMHh7v9z0jJICVqhiNB7dOSurTW6IzHtiq0k+p9ZmhEQlZam7uXVo45w2KHuuEqD N6aML33Hror2GYwE4bAjMwhgj8qzBCDqqT8OpfsimgKAEeuQMk3+Tu+/eWlZuinT 9fWimZR2HjJ6lZDcqJ9IpZKloZns2tIFBOid7HDBp5Bn/WozJFS7fQ9N7aGjiH8D Kp3oRB+Ey1bobTgKWHUILDLzgJ4sBHzuk5gHF81k0BuJUkXsfpHKB2iMKVeQ== 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= 1762085152; x=1762171552; bh=WXJ8NvDLTcb0Ue5yGCXw+kr5fDyNY+1akRf PMJ4ZGk8=; b=L6hZIYcZ4VIQB2uTbyUmiq6vQNdk/2d5UElDTTpohqAzYxufX2q dAeUWkmRRX7abK9wCN2gDqQ3gKiF9D3FauWjxruqDBhqh/syFLiIukbhdvZwKlW1 6sdOjErKZnMwmpItH5w0b4aeQE2Ko4l7V4Z5maFpIKmv/ObBOTLK1FbROcwSECVe 7OFYiJ2my5dEadnJzfMtYSOy+QYU+tWIHTGTQvoM2BlhPkg2f7ASm7KBZRctWvjR f0eY0sRa2wZAy/R2H/X/Sb0bEJdviKPdfm3EsIf0z7jdAgAresnF4jV+4wEKZpZF rIbWjVlbUJBTP0DYaGiuRSIdeNVly3wdO0Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddujeehvdduucetufdoteggodetrf 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 07:05:52 -0500 (EST) Received: by mbp.qyliss.net (Postfix, from userid 1000) id 40A6F63AB89F; Sun, 02 Nov 2025 13:05:50 +0100 (CET) From: Alyssa Ross To: Demi Marie Obenour Subject: Re: [PATCH 2/7] release/combined: Compress installation image In-Reply-To: <62dd1a84-04a2-4836-9510-7a69d0b1d744@gmail.com> 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> Date: Sun, 02 Nov 2025 13:05:49 +0100 Message-ID: <87pla0prky.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: YIEWUWFPYYUZLFGKOF6IN2ESPZPG5AAY X-Message-ID-Hash: YIEWUWFPYYUZLFGKOF6IN2ESPZPG5AAY 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 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 installer >>> 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 conte= nt =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 consider >>> 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRV/neXydHjZma5XLJbRZGEIw/wogUCaQdJHQAKCRBbRZGEIw/w ok6yAP4uC7VnP4ttuH90Dw/ZhlCiNYSNeBEVB2SAVVZzhK9bcwD+JJ123YTm2/N9 hfdQ9LcmyeKoILK1hYsDMhL4aaU8CQY= =2y8C -----END PGP SIGNATURE----- --=-=-=--