From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-a2-smtp.messagingengine.com (fout-a2-smtp.messagingengine.com [103.168.172.145]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.8310.1796391375837501344 for ; Fri, 04 Dec 2026 05:36:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@pbarker.dev header.s=fm2 header.b=nvH1i40V; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=j6gTdYhu; spf=pass (domain: pbarker.dev, ip: 103.168.172.145, mailfrom: paul@pbarker.dev) Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id 005E3EC035B for ; Fri, 4 Dec 2026 08:36:15 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Fri, 04 Dec 2026 08:36:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pbarker.dev; h= cc:content-transfer-encoding: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=1796391374; x=1796477774; bh=J2NTDqizemalNA+CCAlbixUXerpuTcatoEVB+/jEgHg=; b= nvH1i40VSNPbH2zaR9y6wil4aZa7KAlp763Os9o4WF/XDMEcUjnygBBXgKxhGFJh 7WHo1BcG55N8fMN0/qZWqD7lxwAuVdYUmpH7nbxV7oGwhJ9ks/GbHNv/xRcbnmHT 3uJrQe4lmF8bngdvRhflV7IF+Kxw34GjGg7vcVVPqeuJIFitBZyxwXzlwgDtY9Pd C19WqdolbaQBOreqW+X40hG1TfYMreImNGBCJBl1QgP9TahC1HbCiq2NgCGdYiTe ppDokPqZ8SKBmwlGqWLC/Q1EMtFTTCJgNxi3k3eRJm5zE9Y3l5ZD6nhyv+Bf8xix ifhKZsgMJ7p5mO/rWc7dtw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=1796391374; x=1796477774; bh=J 2NTDqizemalNA+CCAlbixUXerpuTcatoEVB+/jEgHg=; b=j6gTdYhuJeVeWmIW2 uvR/vChjMBTtQ0ABr355KvozmWNkpEhuoZIeHJvEPz1uZhN3K/U+bPry24TTpCID 0XvF9ELxWT1WJqH/oIOCsupmnofgy8GsQmShdz+SJJIby4nNq/0lgVF/lClSqE1w xLyZBZEskt7qDBPeCUsPek3vQwh8RScXrxHExPxhxhfbMJWh4ePZ8h+XQR9zh28K ZmfdrKrPh5Rt6uCWSZVJM49KaSbCIfZkYwKuAii5kVkmLOjEkompz4Oejt5ILB5m YC/YE9r4pfCb9LD7YRN2PABorBdr8QjBoIismR51DKm0oYuYMufsDS0gKj+tHSJs 18fDA== X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=sign d=pbarker.dev a=rsa-sha256; DKIM2-Signature: i=1; m=1; t=1796391374; d=pbarker.dev; mf=PHBhdWxAcGJhcmtlci5kZXY+; rt=PG9wZW5lbWJlZGRlZC1jb3JlQGxpc3RzLm9wZW5lbWJlZGRlZC5vcmc+; s=fm2:rsa-sha256:PlaxHKjGdZilClk02hLn44/rvOMXm4wnsgqqq0EhzsDatyp EnYv121se63bFuPCYIzxQS0AkqEOFnpWT/P2BG5WrYZ1wm18sdapWIJfsQ8VcOuX Rj89FzwP8xIHf5b6VitjBwZVTS4I5TxlJaBteGu9nhBhUHPFvija9DFTrjvg34dk knEmUDcdCEV5FCyMqTtBIpqOGK4/CqzShOxkdslEKlvNVvSQDkTt8iD+hw3vhqbL 4In3N6N1BP5DoaZGwX3at5+m/10+OVwm8xT7Aur2BE1VLvtzFGfP+yDWBBXjAdWb KAAChBsugR9sXfID3IczWPZQYcyqhjxXu7yPBlQ==; X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=mi-m=1; hc=11; hn=content-transfer-encoding,content-type,date,feedback-id,from, in-reply-to,message-id,mime-version,references,subject,to; Message-Instance: m=1; h=sha256:h8l/2w8WyFMwabqteQs/5V2xeZfrVQBGWJenpbQEZEE=:J2NTDqizemalNA+CCAlbixUXerpuTcatoEVB+/jEgHg=; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTE4Ycy004DYdrSQqxEvFc7KlVptx4pJ5QhbeE/b0N4tle9qavGapqM5lIV5AORdPz kqdICNhFtGbgnoJFUte8mXqo0+im12+RB3bRo6SFPolR64y4xm6P+awSlsObqr1VLrijkV MQEZTO0FEXo8GgieCpRCqnHFnrHEc/gO6XlcLFR4NayXzTx85RNjXEjKI3b/GfsL+RXUBo godGOwLZ0lg/+V8IkBuM/QpYsINwt7frkbWP/+rei4dQRJs4UrfgpM7Jb6zV70Tcgl31fn dU3MSSHmDxp0ChmoaG26zc8HXnQZsLxgM8Mgh7PoP8s6eEFuetRFr6WPi/96MMCQCIFUfF BZuwGsvQBDQ5hYsUrU/cnmwVtJdEF+5JJrWddJtuvNZeL49SAv4cMqyQa/RCPASld5LacA L4sGstu9D1WcddKbdyeY5UpCfwNoS+Ogk3Vq2GYUkZ/SZZhffblodqwZGtbimxXcKl/JH3 855o7VyRb7j6Zm/QpGYyGDlWBBdAZz1Rm7pWqCoCRpW1cWum5mdTVNBr8JDXdNP/J3fxBW 8Co08g4KRAk/slLPsbOk6PYV9o3C0WLGmlQ3FE1DSANdSuNiOmafCMZ0ZPiB8TJl1SXWhO 3CkdTN5xcqW5oAuY8/kH2DU3A/VTdnur5xrQ8Y2S3e24N7oiLZ1a87Atk1oA X-ME-Proxy: Feedback-ID: i51494658:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 4 Dec 2026 08:36:14 -0500 (EST) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 04 Dec 2026 13:36:13 +0000 Message-Id: To: "Ricardo Salveti" , Subject: Re: [PATCH v2] uki.bbclass: allow overriding the embedded os-release From: "Paul Barker" X-Mailer: aerc 0.22.0 References: <20261129165751.1606210-1-ricardo.salveti@oss.qualcomm.com> <20261129222605.2163613-1-ricardo.salveti@oss.qualcomm.com> In-Reply-To: <20261129222605.2163613-1-ricardo.salveti@oss.qualcomm.com> List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 04 Dec 2026 13:36:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251985 On Sun Nov 29, 2026 at 10:26 PM GMT, Ricardo Salveti wrote: > uki.bbclass copies the os-release file from the recipe sysroot into the > UKI (its .osrel section), and there is no way to use a different file: > the class always passes --os-release to ukify, which takes precedence > over UKI_CONFIG_FILE. > > systemd-boot boots the UKIs placed in /EFI/Linux on the EFI system > partition without any loader entry file; the Boot Loader Specification > calls these "Type #2" entries [1]. It reads the os-release embedded in > each UKI to name it in the menu and to order them: UKIs of the same OS > are sorted by their version fields (VERSION, VERSION_ID, IMAGE_VERSION > or BUILD_ID), newest first, and by file name only when those are equal, > and the first one boots by default. A layer that installs several such > UKIs and sets their order through the file names therefore needs to > embed an os-release without the version fields, while the rootfs keeps > the full one. > > Add UKI_OS_RELEASE, the os-release file embedded in the UKI. It > defaults to the os-release from the recipe sysroot, so nothing changes > unless a layer sets it. > > [1] https://uapi-group.org/specifications/specs/boot_loader_specification= /#type-2-efi-unified-kernel-images > > AI-Generated: Uses Claude Code (Claude Opus 5.5) > Signed-off-by: Ricardo Salveti Hi Ricardo, This patch has been merged. Would it be possible to follow up with some test cases? We don't need to boot test the resulting UKI files, just ensure that they get the right data. Best regards, --=20 Paul Barker