Skip to content

Commit

Permalink
more test for apfs
Browse files Browse the repository at this point in the history
Signed-off-by: SergeySlice <[email protected]>
  • Loading branch information
SergeySlice committed Mar 13, 2022
1 parent ea2a0bc commit 799880e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion OpenCorePkg
10 changes: 5 additions & 5 deletions rEFIt_UEFI/refit/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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());
Expand Down

0 comments on commit 799880e

Please sign in to comment.