Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
670d4e0c
O
OpenCorePKG_MOD
项目概览
btwise
/
OpenCorePKG_MOD
通知
26
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
OpenCorePKG_MOD
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
670d4e0c
编写于
6月 16, 2020
作者:
V
vit9696
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OcBootManagementLib: Drop BlacklistAppleUpdate
上级
c33977ca
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
46 addition
and
43 deletion
+46
-43
Changelog.md
Changelog.md
+1
-0
Docs/Configuration.pdf
Docs/Configuration.pdf
+0
-0
Docs/Configuration.tex
Docs/Configuration.tex
+6
-9
Docs/Differences/Differences.pdf
Docs/Differences/Differences.pdf
+0
-0
Docs/Differences/Differences.tex
Docs/Differences/Differences.tex
+39
-14
Docs/Errata/Errata.pdf
Docs/Errata/Errata.pdf
+0
-0
Docs/Sample.plist
Docs/Sample.plist
+0
-2
Docs/SampleFull.plist
Docs/SampleFull.plist
+0
-2
Include/Acidanthera/Library/OcBootManagementLib.h
Include/Acidanthera/Library/OcBootManagementLib.h
+0
-4
Include/Acidanthera/Library/OcConfigurationLib.h
Include/Acidanthera/Library/OcConfigurationLib.h
+0
-1
Library/OcBootManagementLib/BootEntryManagement.c
Library/OcBootManagementLib/BootEntryManagement.c
+0
-9
Library/OcConfigurationLib/OcConfigurationLib.c
Library/OcConfigurationLib/OcConfigurationLib.c
+0
-1
Platform/OpenCore/OpenCoreMisc.c
Platform/OpenCore/OpenCoreMisc.c
+0
-1
未找到文件。
Changelog.md
浏览文件 @
670d4e0c
...
...
@@ -8,6 +8,7 @@ OpenCore Changelog
-
Added Comet Lake HDA device code
-
Fixed audio stream position reporting on non-Intel platforms
-
Added
`Firmware`
mode to
`ResetSystem`
to reboot into preferences
-
Replaced
`BlacklistAppleUpdate`
with
`run-efi-updater`
NVRAM variable
#### v0.5.9
-
Added full HiDPI support in OpenCanopy
...
...
Docs/Configuration.pdf
浏览文件 @
670d4e0c
无法预览此类型文件
Docs/Configuration.tex
浏览文件 @
670d4e0c
...
...
@@ -2204,7 +2204,6 @@ for more details. Algorithm to determine boot options behaves as follows:
% it points to the END device path.
\item
For disk device paths (not specifying a bootloader) execute ``bless'' (may return > 1 entry).
\item
For file device paths check presence on the file system directly.
\item
Exclude options with blacklisted filenames (refer to
\texttt
{
BlacklistAppleUpdate
}
option).
% Just kill all \EFI\APPLE\ paths.
\item
On OpenCore boot partition exclude all OpenCore bootstrap files by header checks.
\item
Mark device handle as
\textit
{
used
}
in the list of partition handles if any.
...
...
@@ -2217,7 +2216,6 @@ for more details. Algorithm to determine boot options behaves as follows:
\item
If partition handle is marked as
\textit
{
unused
}
execute ``bless'' primary option list retrieval.
\\
In case
\texttt
{
BlessOverride
}
list is set, not only standard ``bless'' paths will be found but
also custom ones.
\item
Exclude options with blacklisted filenames (refer to
\texttt
{
BlacklistAppleUpdate
}
option).
\item
On OpenCore boot partition exclude all OpenCore bootstrap files by header checks.
\item
Register the resulting entries as primary options and determine their types if found.
\\
The option will become auxiliary for some types (e.g. Apple HFS recovery).
...
...
@@ -2823,13 +2821,6 @@ nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:boot-log |
NVRAM and RTC, which despite being removed as soon as OpenCore starts, may be
considered a security risk and thus is optional.
\item
\texttt
{
BlacklistAppleUpdate
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
false
}
\\
\textbf
{
Description
}
: Ignore boot options trying to update Apple peripheral firmware
(e.g.
\texttt
{
MultiUpdater.efi
}
).
\item
\texttt
{
BootProtect
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
string
}
\\
...
...
@@ -3535,6 +3526,12 @@ troubleshooting:
\break
NVIDIA Web Driver control variable. Takes ASCII digit
\texttt
{
1
}
or
\texttt
{
0
}
to enable or disable installed driver.
\item
\texttt
{
7
C
436110
-
AB
2
A
-
4
BBB
-
A
880
-
FE
41995
C
9
F
82
:run
-
efi
-
updater
}
\break
Override EFI firmware updating support in macOS
(
MultiUpdater, ThorUtil, and so on
)
.
Setting this to
\texttt
{
No
}
or alternative boolean
-
castable value will prevent
any firmware updates in macOS starting with
10
.
10
at least.
\item
\texttt
{
7
C
436110
-
AB
2
A
-
4
BBB
-
A
880
-
FE
41995
C
9
F
82
:StartupMute
}
\break
...
...
Docs/Differences/Differences.pdf
浏览文件 @
670d4e0c
无法预览此类型文件
Docs/Differences/Differences.tex
浏览文件 @
670d4e0c
\documentclass
[]
{
article
}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Tue Jun 2 03:55:18 2020
%DIF ADD ../Configuration.tex Tue Jun 16 2
0:51:5
1 2020
%DIF ADD ../Configuration.tex Tue Jun 16 2
1:05:4
1 2020
\usepackage
{
lmodern
}
\usepackage
{
amssymb,amsmath
}
...
...
@@ -2265,8 +2265,11 @@ for more details. Algorithm to determine boot options behaves as follows:
% it points to the END device path.
\item
For disk device paths (not specifying a bootloader) execute ``bless'' (may return > 1 entry).
\item
For file device paths check presence on the file system directly.
\item
Exclude options with blacklisted filenames (refer to
\texttt
{
BlacklistAppleUpdate
}
option).
% Just kill all \EFI\APPLE\ paths.
\DIFdelbegin
%DIFDELCMD < \item %%%
\item
%DIFAUXCMD
\DIFdel
{
Exclude options with blacklisted filenames (refer to
}
\texttt
{
\DIFdel
{
BlacklistAppleUpdate
}}
%DIFAUXCMD
\DIFdel
{
option).
}
\DIFdelend
% Just kill all \EFI\APPLE\ paths.
\item
On OpenCore boot partition exclude all OpenCore bootstrap files by header checks.
\item
Mark device handle as
\textit
{
used
}
in the list of partition handles if any.
% Each partition handle will basically have a list of boot option entries for later quick lookup.
...
...
@@ -2278,8 +2281,11 @@ for more details. Algorithm to determine boot options behaves as follows:
\item
If partition handle is marked as
\textit
{
unused
}
execute ``bless'' primary option list retrieval.
\\
In case
\texttt
{
BlessOverride
}
list is set, not only standard ``bless'' paths will be found but
also custom ones.
\item
Exclude options with blacklisted filenames (refer to
\texttt
{
BlacklistAppleUpdate
}
option).
\item
On OpenCore boot partition exclude all OpenCore bootstrap files by header checks.
\item
\DIFdelbegin
\DIFdel
{
Exclude options with blacklisted filenames (refer to
}
\texttt
{
\DIFdel
{
BlacklistAppleUpdate
}}
%DIFAUXCMD
\DIFdel
{
option).
}
%DIFDELCMD < \item %%%
\item
%DIFAUXCMD
\DIFdelend
On OpenCore boot partition exclude all OpenCore bootstrap files by header checks.
\item
Register the resulting entries as primary options and determine their types if found.
\\
The option will become auxiliary for some types (e.g. Apple HFS recovery).
% Looking up primary and alternate handles could be done per handle to make sure the list is ordered.
...
...
@@ -2886,14 +2892,27 @@ nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:boot-log |
considered a security risk and thus is optional.
\item
\texttt
{
BlacklistAppleUpdate
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
false
}
\\
\textbf
{
Description
}
: Ignore boot options trying to update Apple peripheral firmware
(e.g.
\texttt
{
MultiUpdater.efi
}
).
\item
\texttt
{
BootProtect
}
\\
\DIFdelbegin
\texttt
{
\DIFdel
{
BlacklistAppleUpdate
}}
%DIFAUXCMD
%DIFDELCMD < \\
%DIFDELCMD < %%%
\textbf
{
\DIFdel
{
Type
}}
%DIFAUXCMD
\DIFdel
{
:
}
\texttt
{
\DIFdel
{
plist
\
boolean
}}
%DIFAUXCMD
%DIFDELCMD < \\
%DIFDELCMD < %%%
\textbf
{
\DIFdel
{
Failsafe
}}
%DIFAUXCMD
\DIFdel
{
:
}
\texttt
{
\DIFdel
{
false
}}
%DIFAUXCMD
%DIFDELCMD < \\
%DIFDELCMD < %%%
\textbf
{
\DIFdel
{
Description
}}
%DIFAUXCMD
\DIFdel
{
: Ignore boot options trying to update Apple peripheral firmware
(e.g.
}
\texttt
{
\DIFdel
{
MultiUpdater.efi
}}
%DIFAUXCMD
\DIFdel
{
).
}
%DIFDELCMD <
%DIFDELCMD < \item
\item
%DIFAUXCMD
%DIFDELCMD < %%%
\DIFdelend
\texttt
{
BootProtect
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
string
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
None
}
\\
\textbf
{
Description
}
: Attempt to provide bootloader persistence.
...
...
@@ -3598,7 +3617,13 @@ troubleshooting:
NVIDIA Web Driver control variable. Takes ASCII digit
\texttt
{
1
}
or
\texttt
{
0
}
to enable or disable installed driver.
\item
\texttt
{
7
C
436110
-
AB
2
A
-
4
BBB
-
A
880
-
FE
41995
C
9
F
82
:StartupMute
}
\DIFaddbegin
\texttt
{
\DIFadd
{
7
C
436110
-
AB
2
A
-
4
BBB
-
A
880
-
FE
41995
C
9
F
82
:run
-
efi
-
updater
}}
\break
\DIFadd
{
Override EFI firmware updating support in macOS
(
MultiUpdater, ThorUtil, and so on
)
.
Setting this to
}
\texttt
{
\DIFadd
{
No
}}
\DIFadd
{
or alternative boolean
-
castable value will prevent
any firmware updates in macOS starting with
10
.
10
at least.
}
\item
\DIFaddend
\texttt
{
7
C
436110
-
AB
2
A
-
4
BBB
-
A
880
-
FE
41995
C
9
F
82
:StartupMute
}
\break
Mute startup chime sound in firmware audio support.
8
-
bit integer.
The value of
\texttt
{
0
x
00
}
means unmuted. Missing variable or any
...
...
Docs/Errata/Errata.pdf
浏览文件 @
670d4e0c
无法预览此类型文件
Docs/Sample.plist
浏览文件 @
670d4e0c
...
...
@@ -676,8 +676,6 @@
<false/>
<key>
AuthRestart
</key>
<false/>
<key>
BlacklistAppleUpdate
</key>
<false/>
<key>
BootProtect
</key>
<string>
Bootstrap
</string>
<key>
ExposeSensitiveData
</key>
...
...
Docs/SampleFull.plist
浏览文件 @
670d4e0c
...
...
@@ -676,8 +676,6 @@
<false/>
<key>
AuthRestart
</key>
<false/>
<key>
BlacklistAppleUpdate
</key>
<false/>
<key>
BootProtect
</key>
<string>
Bootstrap
</string>
<key>
ExposeSensitiveData
</key>
...
...
Include/Acidanthera/Library/OcBootManagementLib.h
浏览文件 @
670d4e0c
...
...
@@ -565,10 +565,6 @@ struct OC_PICKER_CONTEXT_ {
//
BOOLEAN
CustomBootGuid
;
//
// Ignore Apple peripheral firmware updates.
//
BOOLEAN
BlacklistAppleUpdate
;
//
// Custom entry reading routine, optional for no custom entries.
//
OC_CUSTOM_READ
CustomRead
;
...
...
Include/Acidanthera/Library/OcConfigurationLib.h
浏览文件 @
670d4e0c
...
...
@@ -311,7 +311,6 @@ typedef enum {
_(UINT32 , ScanPolicy , , OC_SCAN_DEFAULT_POLICY , ()) \
_(BOOLEAN , AllowNvramReset , , FALSE , ()) \
_(BOOLEAN , AllowSetDefault , , FALSE , ()) \
_(BOOLEAN , BlacklistAppleUpdate , , FALSE , ()) \
_(BOOLEAN , ExposeSensitiveData , , OCS_EXPOSE_VERSION , ()) \
_(BOOLEAN , AuthRestart , , FALSE , ()) \
_(BOOLEAN , EnablePassword , , FALSE , ()) \
...
...
Library/OcBootManagementLib/BootEntryManagement.c
浏览文件 @
670d4e0c
...
...
@@ -406,15 +406,6 @@ AddBootEntryOnFileSystem (
return
EFI_UNSUPPORTED
;
}
//
// Skip firmware updates.
//
if
(
BootContext
->
PickerContext
->
BlacklistAppleUpdate
&&
EntryType
==
OC_BOOT_APPLE_FW_UPDATE
)
{
DEBUG
((
DEBUG_INFO
,
"OCB: Discarding discovered Apple FW update
\n
"
));
return
EFI_UNSUPPORTED
;
}
//
// Skip duplicated entries, which may happen in BootOrder.
// For example, macOS during hibernation may leave Boot0082 in BootNext and Boot0080 in BootOrder,
...
...
Library/OcConfigurationLib/OcConfigurationLib.c
浏览文件 @
670d4e0c
...
...
@@ -355,7 +355,6 @@ mMiscConfigurationSecuritySchema[] = {
OC_SCHEMA_BOOLEAN_IN
(
"AllowNvramReset"
,
OC_GLOBAL_CONFIG
,
Misc
.
Security
.
AllowNvramReset
),
OC_SCHEMA_BOOLEAN_IN
(
"AllowSetDefault"
,
OC_GLOBAL_CONFIG
,
Misc
.
Security
.
AllowSetDefault
),
OC_SCHEMA_BOOLEAN_IN
(
"AuthRestart"
,
OC_GLOBAL_CONFIG
,
Misc
.
Security
.
AuthRestart
),
OC_SCHEMA_BOOLEAN_IN
(
"BlacklistAppleUpdate"
,
OC_GLOBAL_CONFIG
,
Misc
.
Security
.
BlacklistAppleUpdate
),
OC_SCHEMA_STRING_IN
(
"BootProtect"
,
OC_GLOBAL_CONFIG
,
Misc
.
Security
.
BootProtect
),
OC_SCHEMA_BOOLEAN_IN
(
"EnablePassword"
,
OC_GLOBAL_CONFIG
,
Misc
.
Security
.
EnablePassword
),
OC_SCHEMA_INTEGER_IN
(
"ExposeSensitiveData"
,
OC_GLOBAL_CONFIG
,
Misc
.
Security
.
ExposeSensitiveData
),
...
...
Platform/OpenCore/OpenCoreMisc.c
浏览文件 @
670d4e0c
...
...
@@ -804,7 +804,6 @@ OcMiscBoot (
Context
->
TakeoffDelay
=
Config
->
Misc
.
Boot
.
TakeoffDelay
;
Context
->
StartImage
=
StartImage
;
Context
->
CustomBootGuid
=
CustomBootGuid
;
Context
->
BlacklistAppleUpdate
=
Config
->
Misc
.
Security
.
BlacklistAppleUpdate
;
Context
->
LoaderHandle
=
LoadHandle
;
Context
->
CustomEntryContext
=
Storage
;
Context
->
CustomRead
=
OcToolLoadEntry
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录