mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
Merge branch 'CloverHackyColor:master' into buildme
This commit is contained in:
commit
fe7baa83b9
@ -392,7 +392,7 @@ SetVariablesForOSX(LOADER_ENTRY *Entry)
|
||||
SetNvramVariable(L"csr-active-config", &gEfiAppleBootGuid, Attributes, sizeof(gSettings.RtVariables.CsrActiveConfig), &gSettings.RtVariables.CsrActiveConfig);
|
||||
}
|
||||
|
||||
if (gSettings.RtVariables.HWTarget.notEmpty()) {
|
||||
if (gSettings.RtVariables.HWTarget.notEmpty() && (Entry->LoaderType != OSTYPE_OSX_INSTALLER) ) {
|
||||
SetNvramXString8(L"BridgeOSHardwareModel", &gEfiAppleNvramGuid, Attributes, gSettings.RtVariables.HWTarget);
|
||||
} else {
|
||||
DeleteNvramVariable(L"BridgeOSHardwareModel", &gEfiAppleNvramGuid);
|
||||
|
Loading…
Reference in New Issue
Block a user