[PATCH 0/2] Fix 'mbr' command with hybrid MBR/GPT
    Joshua Watt 
    jpewhacker at gmail.com
       
    Fri Jun 23 21:59:58 CEST 2023
    
    
  
When dealing with a hybrid MBR/GPT partition table, the 'mbr' command
would misbehave because it was reading the GPT partitions instead of
reading from the MBR when verifying. Fix this by forcing 'mbr verify' to
read MBR partitions.
Joshua Watt (2):
  disk: part: Add API to get partitions with specific driver
  cmd: mbr: Force DOS driver to be used for verify
 cmd/mbr.c      |  2 +-
 disk/part.c    | 38 +++++++++++++++++++++++++++++++-------
 include/part.h |  2 ++
 3 files changed, 34 insertions(+), 8 deletions(-)
-- 
2.33.0
    
    
More information about the U-Boot
mailing list