OpenCoreUefi: Load APFS after connecting drivers
closes acidanthera/bugtracker#842
@@ -498,19 +498,6 @@ OcLoadUefiSupport (
OcMiscUefiQuirksLoaded (Config);
- if (Config->Uefi.Apfs.EnableJumpstart) {
- OcApfsConfigure (
- Config->Uefi.Apfs.MinVersion,
- Config->Uefi.Apfs.MinDate,
- Config->Misc.Security.ScanPolicy,
- Config->Uefi.Apfs.HideVerbose
- );
-
- OcApfsConnectDevices (
- Config->Uefi.Apfs.JumpstartHotPlug
- );
- }
-
if (Config->Uefi.ConnectDrivers) {
OcLoadDrivers (Storage, Config, &DriversToConnect);
DEBUG ((DEBUG_INFO, "OC: Connecting drivers...\n"));
@@ -526,6 +513,19 @@ OcLoadUefiSupport (
OcLoadDrivers (Storage, Config, NULL);
}
+ if (Config->Uefi.Apfs.EnableJumpstart) {
+ OcApfsConfigure (
+ Config->Uefi.Apfs.MinVersion,
+ Config->Uefi.Apfs.MinDate,
+ Config->Misc.Security.ScanPolicy,
+ Config->Uefi.Apfs.HideVerbose
+ );
+
+ OcApfsConnectDevices (
+ Config->Uefi.Apfs.JumpstartHotPlug
+ );
+ }
+
OcLoadUefiOutputSupport (Config);
OcLoadUefiAudioSupport (Storage, Config);
