From: Andreas Reichel <[email protected]> diff to v2: * Renamed failsafe-mode to recovery-mode * Filter operates in O(n) instead of O(n^2) * Fix some wrong memory allocation * Get rid of complicated failsafe-mode-flag and simplify things
This patch series implements the new recovery mode to provide a way to override on-device environments via other boot sources and hence enable the user to repair or install systems with efibootguard on e.g. a memory stick. If an environment is detected on the boot device, only environments from this device will be used. Signed-off-by: Andreas Reichel <[email protected]> Andreas Reichel (5): Add function to remove last node from device path Add function to get boot device and compare it to others Print information if environment is on boot dev Implement recovery mode as config filter Update documentation bootguard.c | 1 + docs/RECOVERY.md | 9 +++++ docs/UPDATE.md | 5 ++- env/fatvars.c | 90 +++++++++++++++++++++++++++-------------------- env/syspart.c | 48 +++++++++++++++++++++++-- include/syspart.h | 3 +- include/utils.h | 2 ++ main.c | 8 +++++ utils.c | 47 +++++++++++++++++++++++++ 9 files changed, 167 insertions(+), 46 deletions(-) create mode 100644 docs/RECOVERY.md -- 2.18.0 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/20180903140934.13454-1-andreas.reichel.ext%40siemens.com. For more options, visit https://groups.google.com/d/optout.
