UEFI needs splashimage in the config file to initialize the contole.
Resolves: rhbz#853844
From: "Brian C. Lane" bcl@redhat.com
UEFI needs splashimage in the config file to initialize the console.
Resolves: rhbz#853844 --- booty/x86.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/booty/x86.py b/booty/x86.py index 19ba316..06e25e7 100644 --- a/booty/x86.py +++ b/booty/x86.py @@ -319,8 +319,10 @@ def writeGrubConf(self, instRoot, bootDev, rootDev, defaultDev, kernelList,
f.write("serial --unit=%s --speed=%s\n" %(unit, speed)) f.write("terminal --timeout=%s serial console\n" % (self.timeout or 5)) - else: + + if self.serial != 1 or iutil.isEfi(): # we only want splashimage if they're not using a serial console + # or if this is a UEFI system if os.access("%s/boot/grub/splash.xpm.gz" %(instRoot,), os.R_OK): f.write('splashimage=%s%sgrub/splash.xpm.gz\n' % (self.grubbyPartitionName(bootDevs[0]), cfPath))
Looks good to me.
Added label: ACK.
Closed.
Pushed
anaconda-patches@lists.fedorahosted.org