From 799880e95aaa2783f27373e91837fc105352e82f Mon Sep 17 00:00:00 2001 From: SergeySlice Date: Sun, 13 Mar 2022 20:01:48 +0300 Subject: [PATCH] more test for apfs Signed-off-by: SergeySlice --- OpenCorePkg | 2 +- rEFIt_UEFI/refit/main.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/OpenCorePkg b/OpenCorePkg index c1cd3ed052..c5925d54c5 160000 --- a/OpenCorePkg +++ b/OpenCorePkg @@ -1 +1 @@ -Subproject commit c1cd3ed0520691474195ceae84b677c90e0468a1 +Subproject commit c5925d54c5eb7057c3d4f4cd015e95a37091ff91 diff --git a/rEFIt_UEFI/refit/main.cpp b/rEFIt_UEFI/refit/main.cpp index 489456a576..1c22bfce94 100644 --- a/rEFIt_UEFI/refit/main.cpp +++ b/rEFIt_UEFI/refit/main.cpp @@ -1202,7 +1202,7 @@ void LOADER_ENTRY::StartLoader() // infoPlistPath = getKextPlist(SysRoot, empty, forceKext, &NoContents); DBG("test volume %d, name %ls:\n", sysIndex, SystemVolume->VolName.wc_str()); - /* if (FileExists(SysRoot, L"\\System\\Library\\CoreServices\\boot.efi")) { + if (FileExists(SysRoot, L"\\System\\Library\\CoreServices\\boot.efi")) { DBG("boot.efi found on %d\n", sysIndex); } REFIT_DIR_ITER DirIter; @@ -1221,10 +1221,10 @@ void LOADER_ENTRY::StartLoader() break; } -*/ - if (SystemVolume->ApfsRole == APPLE_APFS_VOLUME_ROLE_SYSTEM) { - break; - } + + // if (SystemVolume->ApfsRole == APPLE_APFS_VOLUME_ROLE_SYSTEM) { + // break; + // } // infoPlistPath = SWPrintf("%ls\\%s", forceKext.wc_str(), "Contents\\Info.plist"); // DBG("Info.plist = %ls\n", infoPlistPath.wc_str());