forked from pool/efibootmgr
18 lines
458 B
Diff
18 lines
458 B
Diff
|
Write "unique_mbr_signature" only once to MBR!
|
||
|
|
||
|
---
|
||
|
src/lib/disk.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
--- a/src/lib/disk.c
|
||
|
+++ b/src/lib/disk.c
|
||
|
@@ -353,7 +353,7 @@ msdos_disk_get_partition_info (int fd, l
|
||
|
printf("******************************************************\n\n");
|
||
|
|
||
|
}
|
||
|
- else if (opts.write_signature) {
|
||
|
+ else if (!mbr->unique_mbr_signature) {
|
||
|
|
||
|
/* MBR Signatures must be unique for the
|
||
|
EFI Boot Manager
|