Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE12
efibootmgr
efibootmgr-0.6.0-write-unique-id-once.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File efibootmgr-0.6.0-write-unique-id-once.diff of Package efibootmgr
From: Raymund Will <rw@suse.com> Subject: Don't let '--write-signature' overwrite unique signatures. References: bnc# Using '--write-signature' on an MBR-partitioned disk always overwrites the previous signature, even if it was already unique. While not using GPT is against the spec, it still works most of the time. The issue is, that excessively writing new entries to NVRAM (and incidentally breaking all old references to the partition in question) was found to bring trouble to certain systems. Signed-off-by: Raymund Will <rw@suse.com> --- 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 && opts.write_signature) { /* MBR Signatures must be unique for the EFI Boot Manager
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor