On 2018-09-03 16:09, [ext] Andreas J. Reichel wrote:
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");
Shouldn't that be appended to the "Volume X:..." line, rather than
leaving it alone on a new one?
Jan
+ }
rootCount++;
}
*count = rootCount;
--
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/4c1c8112-ec3a-5c21-63d6-481bbde34528%40siemens.com.
For more options, visit https://groups.google.com/d/optout.