From: Andreas Reichel <[email protected]> During environment enumeration, notify if it is on the boot device
Signed-off-by: Andreas Reichel <[email protected]> --- utils.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils.c b/utils.c index ad779f4..dfed669 100644 --- a/utils.c +++ b/utils.c @@ -181,6 +181,10 @@ EFI_STATUS get_volumes(VOLUME_DESC **volumes, UINTN *count) (*volumes)[rootCount].fscustomlabel); mfree(devpathstr); + + if (IsOnBootDevice(devpath)) { + Print(L"(On the boot device)\n"); + } rootCount++; } *count = rootCount; -- 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-4-andreas.reichel.ext%40siemens.com. For more options, visit https://groups.google.com/d/optout.
