]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2005-11-03 Hollis Blanchard <hollis@penguinppc.org>
authorhollisb <hollisb@localhost>
Fri, 4 Nov 2005 03:00:59 +0000 (03:00 +0000)
committerhollisb <hollisb@localhost>
Fri, 4 Nov 2005 03:00:59 +0000 (03:00 +0000)
* kern/term.c (grub_cls): Do not call grub_cur_term->cls() if the
`debug' environment variable has been set.

ChangeLog
kern/term.c

index 26848f59151d4858f2ee29cdde14fdd0b26c0327..e6f78a3d6cf9f43136c79e6df79d016e16b148e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2005-11-03  Hollis Blanchard  <hollis@penguinppc.org>
+
+       * kern/term.c (grub_cls): Do not call grub_cur_term->cls() if the
+       `debug' environment variable has been set.
+
+2005-11-02  Hollis Blanchard  <hollis@penguinppc.org>
+       
+       * Makefile.in (install-local): Use $(DATA).
+       (uninstall): Likewise.
+       * conf/powerpc-ieee1275.rmk (bin_UTILITIES): Move grub-mkimage...
+       (sbin_UTILITIES): ... to here.
+       (sbin_SCRIPTS): New variable.
+       (grub_install_SOURCES): New variable.
+       * util/powerpc/ieee1275/grub-install.in: New file.
+       * util/powerpc/ieee1275/grub-mkimage.c (kernel_path): Remove
+       variable.
+       (add_segments): Call `grub_util_get_path'.
+
 2005-10-28  Yoshinori K. Okuji  <okuji@enbug.org>
 
        From Timothy Baldwin:
index cc4dd98d41e137e78e74f06a95aa2281ef47a643..747b566bc7c15d8bb85b2fabea07c4303155b2c1 100644 (file)
@@ -21,6 +21,7 @@
 #include <grub/err.h>
 #include <grub/mm.h>
 #include <grub/misc.h>
+#include <grub/env.h>
 
 /* The list of terminals.  */
 static grub_term_t grub_term_list;
@@ -207,7 +208,7 @@ grub_gotoxy (grub_uint8_t x, grub_uint8_t y)
 void
 grub_cls (void)
 {
-  if (grub_cur_term->flags & GRUB_TERM_DUMB)
+  if ((grub_cur_term->flags & GRUB_TERM_DUMB) || (grub_env_get ("debug")))
     {
       grub_putchar ('\n');
       grub_refresh ();