mirror of
https://abf.rosa.ru/djam/livecd-tools.git
synced 2025-02-23 15:42:58 +00:00

1. Significantly redesigned the grub2 menu for EFI boot: made it similar to the isolinux menu; more user-friendly product name; returned graphical theme; etc. 2. Fixed non-displaying plymouth in isolinux menu items. 3. Disabled plymouth for 'basic graphics' mode.
42 lines
2.3 KiB
Diff
42 lines
2.3 KiB
Diff
diff --git a/imgcreate/live.py b/imgcreate/live.py
|
|
index 79ce1aa..634088d 100755
|
|
--- a/imgcreate/live.py
|
|
+++ b/imgcreate/live.py
|
|
@@ -600,7 +600,7 @@ menu separator
|
|
liveargs = kern_opts,
|
|
long = "Start " + long,
|
|
short = "linux" + index,
|
|
- extra = "quiet",
|
|
+ extra = "rhgb splash=silent logo.nologo vga=788",
|
|
help = "",
|
|
index = index))
|
|
kern_opts = kernel_options + " install"
|
|
@@ -611,7 +611,7 @@ menu separator
|
|
liveargs = kern_opts,
|
|
long = "Install " + long,
|
|
short = "linux" + index,
|
|
- extra = "quiet vga=788",
|
|
+ extra = "rhgb splash=silent logo.nologo vga=788",
|
|
help = "",
|
|
index = index))
|
|
linux.append(self.__get_image_stanza(is_xen, isDracut,
|
|
@@ -620,9 +620,9 @@ menu separator
|
|
liveargs = kern_opts,
|
|
long = "Install " + long + " in basic graphics mode.",
|
|
short = "basic" + index,
|
|
- extra = "xdriver=vesa nokmsboot install",
|
|
+ extra = "xdriver=vesa plymouth.enable=0 nokmsboot",
|
|
help = "Try this option out if you're having trouble installing.",
|
|
- index = index))
|
|
+ index = index))
|
|
kern_opts = kernel_options
|
|
if checkisomd5:
|
|
check.append(self.__get_image_stanza(is_xen, isDracut,
|
|
@@ -661,6 +661,7 @@ menu separator
|
|
def __get_local_stanza(self, isodir):
|
|
return """label local
|
|
menu label Boot from local drive
|
|
+ menu default
|
|
localboot 0xffff
|
|
"""
|
|
def __get_grub2_stanza(self, isodir):
|