Commit 90e88b2
Allow -a to create a non-existent variable
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 <[email protected]>1 parent 9306e0b commit 90e88b2
1 file changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
| 358 | + | |
| 359 | + | |
366 | 360 | | |
367 | 361 | | |
368 | 362 | | |
| |||
0 commit comments