forked from kylemanna/opalctl
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new kernel (5.3+) API for setting MBRDone flag alone
In older kernels, the only way to set MBRDone=y was to use IOC_OPAL_ENABLE_DISABLE_MBR, which sets both MBREnabled and MBRDone flags to the same value. In newer kernels we have IOC_OPAL_MBR_DONE, which sets only MBRDone. This is way better (having no side effects), but means sed-opal-unlocker now requires kernel 5.3+.
- Loading branch information
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters