Display kernel/initrd loading message on EFI boot

This commit is contained in:
Konstantin Vlasov 2015-03-04 14:37:52 +03:00
parent 323669622e
commit 2b779c2088
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,14 @@
diff --git a/imgcreate/live.py b/imgcreate/live.py
index f959f14..3613239 100644
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
@@ -801,7 +801,9 @@ search --no-floppy --set=root -l '%(isolabel)s'
else:
args["rootlabel"] = "CDLABEL=%(fslabel)s" % args
return """menuentry '%(long)s' --class rosa --class gnu-linux --class gnu --class os {
+ echo 'Loading kernel ...'
linux /isolinux/vmlinuz%(index)s root=%(rootlabel)s %(liveargs)s %(extra)s
+ echo 'Loading initial ramdisk ...'
initrd /isolinux/initrd%(index)s.img
}
""" %args

View file

@ -30,6 +30,7 @@ Patch13: livecd-tools-21.1.basic.graphics.mode.fixed.patch
Patch14: livecd-tools-21.1.shim.efi.renamed.patch
Patch15: livecd-tools-21.1.secureboot.unsigned.kernel.patch
Patch16: livecd-tools-21.1.exception.on.urpmi.fail.patch
Patch17: livecd-tools-21.1.efi.grub.cfg.echo.patch
Requires: python-imgcreate = %{epoch}:%{version}-%{release}
Requires: mkisofs