[PATCH 2/3] make UEFI boot menu resemble the BIOS and non-live boot menus more

Adam Williamson awilliam at redhat.com
Fri Nov 15 17:54:26 UTC 2013


Use product name instead of kernel name, and make "media check & boot" rather
than "just boot" the default.
---
 imgcreate/live.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/imgcreate/live.py b/imgcreate/live.py
index c764b31..750cb83 100755
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
@@ -734,7 +734,7 @@ menu end
 
     def __get_basic_efi_config(self, **args):
         return """
-set default="0"
+set default="1"
 
 function load_video {
   insmod efi_gop
@@ -783,12 +783,12 @@ search --no-floppy --set=root -l '%(isolabel)s'
                 continue
             cfg += self.__get_efi_image_stanza(fslabel = self.fslabel,
                                                liveargs = kernel_options,
-                                               long = name,
+                                               long = "Start " + self.product,
                                                extra = "", index = index)
             if checkisomd5:
                 cfg += self.__get_efi_image_stanza(fslabel = self.fslabel,
                                                    liveargs = kernel_options,
-                                                   long = "Verify and Boot " + name,
+                                                   long = "Test this media & start " + self.product,
                                                    extra = "rd.live.check",
                                                    index = index)
             break
-- 
1.8.4.2



More information about the anaconda-patches mailing list