提交 f3004e2e 编写于 作者: M MikeBeaton

OcBootManagementLib: Update comment

上级 d7fdea31
...@@ -693,7 +693,7 @@ InternalDescribeBootEntry ( ...@@ -693,7 +693,7 @@ InternalDescribeBootEntry (
if (BootEntry->Name == NULL) { if (BootEntry->Name == NULL) {
// //
// Special case - installer should be clearly identified to end users but does not normally // Special case - installer should be clearly identified to end users but does not normally
// contain text label, only pre-rendered graphical label which is not available in builtin // contain text label, only pre-rendered graphical label which is not usable in builtin
// picker, or in Canopy with disk labels disabled. // picker, or in Canopy with disk labels disabled.
// //
if (StrStr (BootDirectoryName, L"com.apple.installer") != NULL) { if (StrStr (BootDirectoryName, L"com.apple.installer") != NULL) {
...@@ -715,8 +715,9 @@ InternalDescribeBootEntry ( ...@@ -715,8 +715,9 @@ InternalDescribeBootEntry (
} else if (StrCmp (BootEntry->Name, L"Preboot") == 0) { } else if (StrCmp (BootEntry->Name, L"Preboot") == 0) {
// //
// Common Big Sur beta bug failing to create .contentDetails files. // Common Big Sur beta bug failing to create .contentDetails files.
// Workaround it by choosing the default name following Apple BootPicker behaviour. // Workaround it by using the standard installed macOS system volume name.
// Applies to anything on the main volume without any text labels (but specifically, to main OS). // Applies to anything on the system volume without text labels (and not already
// handled above, such as installer).
// //
TmpBootName = AllocateCopyPool (sizeof (L"Macintosh HD"), L"Macintosh HD"); TmpBootName = AllocateCopyPool (sizeof (L"Macintosh HD"), L"Macintosh HD");
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册