Skip to content

Commit

Permalink
kb/edk2-capsule-updates.md: drop InitiateReset
Browse files Browse the repository at this point in the history
Linux rejects capsules with this flag and requires a manual soft reset
for persistent capsules (CapsuleApp.efi does reset for persistent
capsules by default, so no difference in behavior for it).

Signed-off-by: Sergii Dmytruk <[email protected]>
  • Loading branch information
SergiiDmytruk committed Aug 30, 2024
1 parent dbdeeec commit ccd16f8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/kb/edk2-capsule-updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,15 @@ EDK2 payload:
cd payloads/external/edk2/workspace/Dasharo/
BaseTools/BinWrappers/PosixLike/GenerateCapsule --encode \
--capflag PersistAcrossReset \
--capflag InitiateReset \
--json-file dasharo.json \
--output dasharo.cap
```

Values from multiple `--capflag` options are combined together.
In case more than one flag needs to be specified, values from multiple
`--capflag` options are combined together. There is no `InitiateReset` because
Linux rejects capsules with this flag and requires a manual soft reset for
persistent capsules (`CapsuleApp.efi` does reset for persistent capsules by
default, so no difference in behaviour for it).

## Capsule introspection

Expand Down

0 comments on commit ccd16f8

Please sign in to comment.