Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37043082
en ru br
Репозитории ALT
S:2.06-alt16
D:0.97-alt2
5.1: 0.97-alt5
4.1: 0.97-alt4.M41.1
3.0: 0.95-alt1
www.altlinux.org/Changes

Группа :: Система/Ядро и оборудование
Пакет: grub

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: grub-0.95-splash-error-term.patch
Скачать


--- 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 == '"')
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin