part: extract MBR signature from partitions
authorPeter Jones <pjones@redhat.com>
Wed, 13 Sep 2017 22:05:25 +0000 (18:05 -0400)
committerAlexander Graf <agraf@suse.de>
Wed, 20 Sep 2017 08:20:19 +0000 (10:20 +0200)
commitff98cb90514d9b787ddc097c203ac8db2941efe1
tree18c1894c6eb53cd60889d6044a87f9b1f81a8afe
parent0d6ab32e3712fe7bc2e3aaf3d93e0d5910264df3
part: extract MBR signature from partitions

EFI client programs need the signature information from the partition
table to determine the disk a partition is on, so we need to fill that
in here.

Signed-off-by: Peter Jones <pjones@redhat.com>
[separated from efi_loader part, and fixed build-errors for non-
 CONFIG_EFI_PARTITION case]
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
disk/part_dos.c
disk/part_efi.c
include/blk.h