Update bootctl command for new --variables= option#3396
Update bootctl command for new --variables= option#3396Torxed merged 2 commits intoarchlinux:masterfrom
Conversation
|
Great work and I truly appreciate the preemptive PR! Marking as ready for merger, but we will hold off for now! |
|
Sadly I think I merged this too early. I assumed that as of systemd 257.6-1 this would be merged in there. I will have to revert this as despite systemd/systemd#37144 being merged, it's still not available as an option: Apologies for the noise. |
|
Yes, I believe systemd has it in their v258 milestone. |
|
Sadly that's not mentioned in the github milestones: https://github.com/systemd/systemd/milestones I'll revisit this around |
|
Thank you for that information, I am inclined to believe you so I made this check: #3625 My doubts were coming from systemd/systemd#37144 being the PR that implements the |

PR Description:
Starting in systemd-boot v257 a
arch-chrootenvironment is detected bybootctlas a container environment.This will cause
bootctl installto skip EFI variable setup silently. See systemd issue 36174 & Arch topic.As a result of that issue systemd is introducing a new
--variables=yes|nooption tobootctl. The existing--no-variablesis left for compatibility and is equivalent to--variables=no.The default variable behavior if not specified will be environment context dependent. So since
arch-chrootis detected as a container, EFI variables will skip.This PR explicitly sets
--variables=yesto over come this. And in the fallback case changes from the compatiblity--no-variablesto--variables=no.This PR should not be merged until a matching version of systemd is released into Arch packages. I just wanted to preemptively get this PR staged.
Tests and Checks