From d683e2286dee68e65ee28773187f279a95cef758 Mon Sep 17 00:00:00 2001 From: vit9696 Date: Wed, 10 Apr 2019 22:54:19 +0300 Subject: [PATCH] OpenCoreKernel: Recurse into VFS to detect boot subdirectories --- Platform/OpenCore/OpenCoreKernel.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Platform/OpenCore/OpenCoreKernel.c b/Platform/OpenCore/OpenCoreKernel.c index c1e789bd..47bcbcb4 100644 --- a/Platform/OpenCore/OpenCoreKernel.c +++ b/Platform/OpenCore/OpenCoreKernel.c @@ -554,7 +554,10 @@ OcKernelFileOpen ( } } - return CreateRealFile (*NewHandle, NULL, TRUE, NewHandle); + // + // We recurse the filtering to additionally catch com.apple.boot.[RPS] directories. + // + return CreateRealFile (*NewHandle, OcKernelFileOpen, TRUE, NewHandle); } VOID