OSDN Git Service

Add the ability to clean up duplicates in BootOrder
authorPeter Jones <pjones@redhat.com>
Fri, 1 Aug 2014 12:23:34 +0000 (08:23 -0400)
committerPeter Jones <pjones@redhat.com>
Fri, 1 Aug 2014 12:26:07 +0000 (08:26 -0400)
commit683831290c50f64d8964bef2a5d8d0092b32ca15
tree458a124ab3cad414b2fe7fe41b62e3fe74b1f533
parent1f4bc63d8cc81747bf2685256c384e17450ca9c8
Add the ability to clean up duplicates in BootOrder

This adds -D (--remove-dups), which iterates BootOrder and keeps only
the first of any number it finds.  Duplicate entries can happen as a
result of an interaction between fallback.efi and some system firmware,
and this option provides an easy workaround to fix it.

Resolves: rhbz#1097396

Signed-off-by: Peter Jones <pjones@redhat.com>
src/efibootmgr/efibootmgr.c
src/include/efibootmgr.h
src/man/man8/efibootmgr.8