SHA256
1
0
forked from pool/efibootmgr
efibootmgr/efibootmgr-0.6.0-write-unique-id-once.diff
Raymund Will 005b0540c9 - Integrate SLE11 patches. [bnc#830784]
o Print EFI status for failed '--create' as well.  [bnc#811767]
 o Fix '--bootorder' handling.  [bnc#810899]
 o Print EFI status in case of failure.  [bnc#811767]
- Update version number to 0.6.0.
- Stop '--write-signature' overwriting unique signature.
- Fix gcc warnings.

OBS-URL: https://build.opensuse.org/package/show/Base:System/efibootmgr?expand=0&rev=11
2013-12-19 16:49:29 +00:00

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