On Tue, Sep 23, 2025 at 4:11 PM Lennart Poettering <[email protected]> wrote:
> On Di, 23.09.25 09:26, Itxaka Serrano Garcia ( > [email protected]) wrote: > > > Also a small thing, there is nothing on the docs on how to select a > profile > > via Type 1 entries, is that even possible? Does it go into the efi stanza > > like EFI_FILE@PROFILE_NUMBER or something? > > You have to prefix the cmdline you pass to the UKI with "@4" to selec > profile 4, and so on. > > Hence, it's part of the cmdline in a way, but also not, as we strip it > before measuring things. That's the reason we use this weird "@" based > syntax, to indicate visually that this is something that is not really > like a regular kernel cmdline argument. > But in a measured UKI the cmdline is, or more specifically it can be, inmutable, so you have to know when building your cmdline for your uki which profile is going to be? Or do you mean using the `options` key in a Type 1 entry? I think that's very confusing, plus nowhere in the docs, which makes it even more confusing hehe. No wonder I could not make it work with Type 1. Thanks for the info, I'll check the source for that part to see how its parsed. > > Lennart > > -- > Lennart Poettering, Berlin >
