Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37790882
en ru br
ALT Linux repos
S:2.06-alt16
D:0.97-alt2
5.0: 0.97-alt5
4.1: 0.97-alt4.M41.1
3.0: 0.95-alt1

Group :: System/Kernel and hardware
RPM: grub

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: grub-0.95-splash-error-term.patch
Download


--- grub-0.95/stage2/graphics.c.old	2005-01-11 09:34:17.125451981 -0500
+++ grub-0.95/stage2/graphics.c	2005-01-11 09:34:03.743949015 -0500
@@ -108,12 +108,8 @@
  * mode.  */
 int graphics_init()
 {
-    if (!graphics_inited) {
-        saved_videomode = set_videomode(0x12);
-    }
-
     if (!read_image(splashimage)) {
-        set_videomode(saved_videomode);
+	current_term = term_table;
         grub_printf("failed to read image\n");
         return 0;
     }
@@ -303,6 +299,8 @@
     if (!xpm_open(s))
         return 0;
 
+    saved_videomode = set_videomode(0x12);
+
     /* parse info */
     while (grub_read(&c, 1)) {
         if (c == '"')
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin