Skip to content

bootctl: replace --no-variables by --variables=BOOL#37144

Merged
poettering merged 1 commit intosystemd:mainfrom
poettering:efi-set-var-fix
Apr 16, 2025
Merged

bootctl: replace --no-variables by --variables=BOOL#37144
poettering merged 1 commit intosystemd:mainfrom
poettering:efi-set-var-fix

Conversation

@poettering
Copy link
Copy Markdown
Member

@poettering poettering commented Apr 15, 2025

I think the current behaviour of not doing EFI variables when we are run in a container makes a ton of sense, but in some cases it's useful to do EFI var setup even when a set of namespaces is set up for us, for example to recover a hosed installation from a rescue disk.

While we are at it, let's remove some duplicate checks, and systematically output information why we skip various operations.

Fixes: #36174
Fixes: #35005

Copy link
Copy Markdown
Member

@yuwata yuwata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. One super minor comment.

@yuwata yuwata added good-to-merge/with-minor-suggestions and removed please-review PR is ready for (re-)review by a maintainer labels Apr 15, 2025
@poettering poettering added good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed and removed good-to-merge/with-minor-suggestions labels Apr 16, 2025
I think the current behaviour of not doing EFI variables when we are run
in a container makes a ton of sense, but in some cases it's useful to
do EFI var setup even when a set of namespaces is set up for us, for
example to recover a hosed installation from a rescue disk.

While we are at it, let's remove some duplicate checks, and
systematically output information why we skip various operations.

Fixes: systemd#36174 systemd#35005
@poettering poettering merged commit bbeeea4 into systemd:main Apr 16, 2025
39 of 46 checks passed
@github-actions github-actions bot removed the good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed label Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

[bootctl] Regression: Silent failure to create EFI boot entry from within chroot Force install efi variables

3 participants