Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow -a to create a non-existent variable #240

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

ozbenh
Copy link
Contributor

@ozbenh ozbenh commented Mar 7, 2023

There is no much point in failing when trying to append, we may as well create the variable. This way it can be used for dbx update payloads that must be applied in append mode even if there isn't a dbx yet.

This is nicer than using -w with EFI_VARIABLE_APPEND_WRITE added to the attributes passed with -A

There is no much point in failing when trying to append, we may
as well create the variable. This way it can be used for dbx
update payloads that must be applied in append mode even if there
isn't a dbx yet.

This is nicer than using -w with EFI_VARIABLE_APPEND_WRITE added
to the attributes passed with -A

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
@vathpela vathpela merged commit 90e88b2 into rhboot:main Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants