On Thu, Jul 28, 2022, at 2:47 PM, Gregory Bartholomew wrote:
On Thu, Jul 28, 2022 at 1:34 PM Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:Seems to me the only valid type code for a merged ESP+XBOOTLDR is ESP. What am I missing?Right. I'd like to use the ESP type code for the merged ESP+XBOOTLDR so that the firmware will pick it up properly. The only problem is when using the bootctl command to initialize that partition (/boot), it requires that I set the SYSTEMD_RELAX_XBOOTLDR_CHECKS variable. I don't think it should require setting that environment variable in that case. But maybe I'm using the command incorrectly? The command I'm running is:SYSTEMD_RELAX_XBOOTLDR_CHECKS=1 bootctl install --boot-path=/boot --esp-path=/boot
omit --boot-path and have only an --esp-path
I think you have to set both "--boot-path" and "--esp-path" to the same value to get the merged partition. If I leave off "--boot-path", then I don't have to set the variable. But I'm not sure that it will configure everything correctly in that case. Will it?
It should. BLS envisions two configurations: ESP only, contains all files; ESP contains bootloaders, XBOOTLDR contains /loader/entries and everything else. There isn't really a concept of one partition being both ESP and XBOOTLDR.
An argument could be made in favor of two ESPs instead of an ESP and XBOOTLDR, but whatever. I'm not going to make it.
--
Chris Murphy
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure