summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Workspace/WorkspaceCommon.py
diff options
context:
space:
mode:
authorZhichao Gao <zhichao.gao@intel.com>2020-07-02 09:03:12 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-07-15 01:18:13 +0000
commite906346dcb80fce588ac774c8ec9694b62f0a257 (patch)
tree9846ef8a638d50dd94ced8263c8bce0150c04e78 /BaseTools/Source/Python/Workspace/WorkspaceCommon.py
parenta35de0aff3e92c8584419720be199ccfff9b6a43 (diff)
downloadedk2-e906346dcb80fce588ac774c8ec9694b62f0a257.tar.gz
edk2-e906346dcb80fce588ac774c8ec9694b62f0a257.tar.bz2
edk2-e906346dcb80fce588ac774c8ec9694b62f0a257.zip
MdeModulePkg/PartitionDxe: Skip the MBR that add for CD-ROM
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2823 Refer to http://manpages.ubuntu.com/manpages/bionic/man8/mkudffs.8.html. Some Linux ISOs may have the MBR table for compatibility reasons for Windows. The MBR tale would contain the partition entry with start LBA0 and whole media size. There are two methods to check the filesystem in the CD-ROM: 1. MBR partition check (Windows) 2. Whole disk check (MAC OS) UEFI doesn't have the MBR check for UDF and Eltorito. But it may pass the MBR check for such table and fail to detect the filesystem of UDF. Skip the MBR check if the MBR is added for Windows compatiblity so that the partition driver can continue UDF and ElTorito check. Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/WorkspaceCommon.py')
0 files changed, 0 insertions, 0 deletions