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 825B115E4B; Fri, 28 Nov 2025 10:48:16 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 5614515E36; Fri, 28 Nov 2025 10:48: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-b3-smtp.messagingengine.com (fhigh-b3-smtp.messagingengine.com [202.12.124.154]) by atuin.qyliss.net (Postfix) with ESMTPS id 095E415E95 for ; Fri, 28 Nov 2025 10:48:11 +0000 (UTC) Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.stl.internal (Postfix) with ESMTP id A8EB97A008A; Fri, 28 Nov 2025 05:48:07 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Fri, 28 Nov 2025 05:48:07 -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=fm3; t=1764326887; x=1764413287; bh=UWGKwtrWzd ngSFPyEVpm8h0WJaF6L+Tqv6Oyb1EusTM=; b=R96RjNGDHgv+oKuQtv9AvKUVq4 eWlCQwXGrt1XwOv8wXjPFkuMbVPAFqnF4HMNL/vrwg7NkKpuKEu1DUuzEAmnR4zL bdszMd0RNMxfJr3TP6/koWnVkNwN8DmJpFO/JeasHDcZen4nKMNkIaGYLGM36Jcx 5uNLxk0oF7S4CPILN5EALJkkELdYPHUHwUgi9vfa2qImqc7ox5PS4VWce3RxZJbV 6CbNReDTwQgzPBK+cvtvOln30/f1z0nUmZqglB0iirVpG+Q7D9hkodfpH5vBzUvJ hYqoTkXAdPuTIls2tJFmqlsBoGEZ0OWOVORth3RkC6s5kpUsZsR7L/NiPhPQ== 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=fm1; t= 1764326887; x=1764413287; bh=UWGKwtrWzdngSFPyEVpm8h0WJaF6L+Tqv6O yb1EusTM=; b=fZcVEUYM3dCpB/hL+aLhUcxPPZ0gQNSByhovSX+dmXE+xONmVCO zcvYwjnocpTz9a1j2GQSPhXIFmqXM5CuwV9g0TOCB1kzoL5DQCFhA0NmKfPMXJaF S8aXSQnxyGpoiJwLldzulrIX4ikc0eBKmQhC6hS899BgEx/RvH0mHFSKXoOZZYgU 6B7cKEtZpPuvUOtNZQenHJmZy5zwYidkp3fZ41Pv853+8pD97sMveMWy/0RspVMp Cjzk7cEkVbmmq3SRiH1+WrM1xKSQrhx1n+ipJaNHRMRt1Z1uSC+Ck+l6ghh0wrqM JfiTHhc7bKdXC82Lonlkn9YO1Ldfca+dfjg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvgeelieekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefujghffffkgggtsehgtderredttddtnecuhfhrohhmpeetlhihshhsrgcu tfhoshhsuceohhhisegrlhihshhsrgdrihhsqeenucggtffrrghtthgvrhhnpeevjeeike ehffeuheejvedtkeellefhhefhleegffeiieduvdeuieefteekleffvdenucffohhmrghi nhepshhpvggtthhruhhmqdhoshdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehhihesrghlhihsshgrrdhishdpnhgspghrtghpthht ohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepuggvmhhiohgsvghnohhurh esghhmrghilhdrtghomhdprhgtphhtthhopeguvghvvghlsehsphgvtghtrhhumhdqohhs rdhorhhg X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 28 Nov 2025 05:48:06 -0500 (EST) Received: by fw12.qyliss.net (Postfix, from userid 1000) id 830052BC29FD; Fri, 28 Nov 2025 11:47:55 +0100 (CET) From: Alyssa Ross To: Demi Marie Obenour Subject: Re: [PATCH v6 2/2] Move UKI creation to a separate derivation In-Reply-To: <20251126-refactor-verity-v6-2-f09555546a85@gmail.com> References: <20251126-refactor-verity-v6-0-f09555546a85@gmail.com> <20251126-refactor-verity-v6-2-f09555546a85@gmail.com> Date: Fri, 28 Nov 2025 11:47:28 +0100 Message-ID: <87h5ueph6n.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: RDR4DQY7E22NSEXTTFYBKDUEHTAMWMLQ X-Message-ID-Hash: RDR4DQY7E22NSEXTTFYBKDUEHTAMWMLQ 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 Content-Transfer-Encoding: quoted-printable Demi Marie Obenour writes: > It will be used by the update code later. > > No functional change intended, other than a trivial shell script > refactoring. > > Signed-off-by: Demi Marie Obenour > --- > I kept release/live/default.nix using the UKI's systemd because the old > code did it that way. Changing this would be better in a separate > commit. Yep, makes sense. > Changes since v5: > > - Create a temporary symlink named build/spectrum.efi and then run > $(MCOPY) -i $@ build/spectrum.efi ::/EFI/Linux, rather than copying > the file with its original name. The latter results in an unbootable > image. I do not know the reason. If I just mcopy -i $@ $(EFI_IMAGE) ::/EFI/Linux/spectrum.efi (explicitly specifying the destination file name), then it works. It doesn't is somet= hing like "/nix/store/3yqb8mfv6skp43yp2r7sn098zrj0hrjf-spectrum-efi".=20=20 This could be avoided by installing EFI_IMAGE to a subdirectory, so the file name didn't get a hash prepended to it by Nix. Happy to just go ahead with changing this and applying my style comments from last time[1] if you agree. [1]: https://spectrum-os.org/lists/archives/spectrum-devel/877bve2skh.fsf@a= lyssa.is/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQQGoGac7QfI+H5ZtFCZddwkt31pFQUCaSl9wAAKCRCZddwkt31p FYelAQDpTa9guONkQRIBVWg0tmAcG5rYuW/8c2POccje9ayhEwEA3TnyTrjcHXgg x2gNE0lZ8s1SiCcs1UO8SvAWZ4BlJA4= =AU3I -----END PGP SIGNATURE----- --=-=-=--