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 067243418; Tue, 25 Nov 2025 14:11:35 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 409A6336F; Tue, 25 Nov 2025 14:11:32 +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 fout-a1-smtp.messagingengine.com (fout-a1-smtp.messagingengine.com [103.168.172.144]) by atuin.qyliss.net (Postfix) with ESMTPS id 7A4BC3369 for ; Tue, 25 Nov 2025 14:11:30 +0000 (UTC) Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id 0BD6EEC00DC; Tue, 25 Nov 2025 09:11:28 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Tue, 25 Nov 2025 09:11:28 -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=1764079888; x=1764166288; bh=Wp2unsGqjX L/w68Ugl2bEu2s8tUGbp9jvC8JOgNHrTM=; b=f3HHsR3cxYUvB8uC9KDcAqipZM Xs61A5zt39Cg4kdBleqXowTEIX/QLrCX3NpZT5OZpTSeUyAugTJeAHT6wmD5rBeY 4/P5rA1RDNpitYYuhbEC3Ha31VA61JeB+vn5j9nE9bjyk07SZFpTAbVPzgyFzU7M gzD+WyH8c4QgVUm4df+9OXXT0A27Vpnt9KJ5fVQ4HSABZK/N0EbIhrJcsYFhm9eI QtNt/OHHOZl9u2r3etrGDBzcd4XipIPvnXS2RAED22Wx0fRJytcf58B6KTst4ED6 jwC8507QeUXGbM7iwytQ6UwYzgrrQgtR+lFwx1NNpnMCPU6DLegvF7exv3dQ== 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= 1764079888; x=1764166288; bh=Wp2unsGqjXL/w68Ugl2bEu2s8tUGbp9jvC8 JOgNHrTM=; b=2ir3V2OQ4aIWkStIcb3vz6kTrRk0HhbHtqLEa78Qc2G7lcHX+xz iHEziDwFll/6mVm6trkmT3aOvTfFPC3dVPaxKzMt422RIdHUVQgdCOF1dICtCBl8 N/lzk9+ZDHkqGqmJE6H8Yp/xsanO3Rh+Rgf7St1HmXh2M0eZam8e+6KsKU6XWA8y zBResFczM8bumn90eeX2IawugcsX5fuOADz1dwFgFcsNtK3u8qyNpsxik44gjfwB i1/YDL3KDf+c/km3ELm2aweScXUZkoO8T0BNOelD1uKtxuRf/Vo4DtjtmwBmUZeS 0b2gAOcXORPOiAKcwuemH/RhnDc0mdrWy0w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvgeduieekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefujghffffkgggtsehgtderredttddtnecuhfhrohhmpeetlhihshhsrgcu tfhoshhsuceohhhisegrlhihshhsrgdrihhsqeenucggtffrrghtthgvrhhnpeeiudffue eilefgtefgtddttdekkeehkefgheekudefveetgeefiefftedvteeuveenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhihesrghlhihsshgrrd hishdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohep uggvmhhiohgsvghnohhurhesghhmrghilhdrtghomhdprhgtphhtthhopeguvghvvghlse hsphgvtghtrhhumhdqohhsrdhorhhg X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Nov 2025 09:11:27 -0500 (EST) Received: by fw12.qyliss.net (Postfix, from userid 1000) id 505CA25FCE92; Tue, 25 Nov 2025 15:11:16 +0100 (CET) From: Alyssa Ross To: Demi Marie Obenour Subject: Re: [PATCH v4 09/14] Use OS version to set partition labels and UKI name In-Reply-To: <20251121-updates-v4-9-d4561c42776e@gmail.com> References: <20251121-updates-v4-0-d4561c42776e@gmail.com> <20251121-updates-v4-9-d4561c42776e@gmail.com> Date: Tue, 25 Nov 2025 15:11:14 +0100 Message-ID: <87y0nu19tp.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: 6VTTKASLRXQPUSDFVRSZUZWTWIRCMELD X-Message-ID-Hash: 6VTTKASLRXQPUSDFVRSZUZWTWIRCMELD 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 Demi Marie Obenour writes: > systemd-sysupdate has strict requirements on the partition layout: > > - The label of the active partition must match the template in the > .transfer file. For instance, the root filesystem of Spectrum 0.0.0 > must be in a partition with label "Spectrum_0.0.0", and the verity > partition must have the label "Spectrum_0.0.0.verity". > > - The label of the inactive partition must be that of the old version of > Spectrum, or "_empty" for freshly installed systems. > > - The partition type UUID must conform to the Discoverable Partition > Specification. > > Also, the UKI must have a name that includes the OS version. Otherwise, > it will not be deleted during updates. > > Since the partition label includes the OS version, add an OS version > number. Use 0.0.0 to indicate that Spectrum OS is still in very early > development and should not be used. The version number can be > overridden in the build configuration file. > > Signed-off-by: Demi Marie Obenour > --- > Changes since v2: > - Split off into separate commit. > --- > host/efi.nix | 2 +- > host/initramfs/Makefile | 4 ++-- > host/initramfs/shell.nix | 2 ++ > host/rootfs/Makefile | 4 ++-- > host/rootfs/shell.nix | 2 ++ > lib/config.default.nix | 1 + > release/live/Makefile | 6 +++--- > release/live/default.nix | 3 +++ > 8 files changed, 16 insertions(+), 8 deletions(-) Reviewed-by: Alyssa Ross --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQQGoGac7QfI+H5ZtFCZddwkt31pFQUCaSW5AwAKCRCZddwkt31p FcwIAQDOwGY73GTFU+pzU9hM+RuY8Yj5Gv2a9ljhroV7mmcQ/gD9FNUIccYDu4X3 mo7b1fIMQ368GxdMpI2Nu7qxHeV2+go= =qX35 -----END PGP SIGNATURE----- --=-=-=--