diff --git a/edk2toollib/uefi/edk2/parsers/buildreport_parser.py b/edk2toollib/uefi/edk2/parsers/buildreport_parser.py index 15fba900..ce68e176 100644 --- a/edk2toollib/uefi/edk2/parsers/buildreport_parser.py +++ b/edk2toollib/uefi/edk2/parsers/buildreport_parser.py @@ -313,6 +313,8 @@ def FindComponentByInfPath(self, InfPath: str) -> Optional['ModuleSummary']: (None): If not found """ for (k, v) in self.Modules.items(): + if os.path.isabs(v.InfPath): + v.InfPath = self.PathConverter.GetEdk2RelativePathFromAbsolutePath(v.InfPath) if (v.InfPath.lower() == InfPath.lower()): logging.debug("Found Module by InfPath: %s" % InfPath) return v