Bug#526741: grub-common: grub-mkconfig fails to export GRUB_TERMINAL_INPUT

Bjørn Mork bjorn at mork.no
Sat May 16 13:41:21 UTC 2009


Package: grub-common
Version: 1.96+20090317-1
Severity: normal


I believe the real problem is that grub-mkconfig doesn't export GRUB_TERMINAL_INPUT
It does set this variable (and GRUB_TERMINAL_OUTPUT) based on GRUB_TERMINAL
but exports only GRUB_TERMINAL_OUTPUT.  The attached patch fixes the problem for
me without any changes to 00_header.


Bjørn



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-common depends on:
ii  base-files             5.0.0             Debian base system miscellaneous f
ii  libc6                  2.9-4             GNU C Library: Shared libraries
ii  libfreetype6           2.3.9-4.1         FreeType 2 font engine, shared lib
ii  libncurses5            5.7+20090404-1    shared libraries for terminal hand
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

grub-common recommends no packages.

Versions of packages grub-common suggests:
pn  multiboot-doc                 <none>     (no description available)

-- no debconf information
-------------- next part --------------
--- /usr/sbin/grub-mkconfig.old	2009-03-17 14:47:53.000000000 +0100
+++ /usr/sbin/grub-mkconfig	2009-05-16 15:27:39.000000000 +0200
@@ -173,7 +173,7 @@
 export GRUB_DEVICE GRUB_DEVICE_UUID GRUB_DEVICE_BOOT GRUB_DEVICE_BOOT_UUID GRUB_FS GRUB_FONT_PATH GRUB_PRELOAD_MODULES
 
 # These are optional, user-defined variables.
-export GRUB_DEFAULT GRUB_TIMEOUT GRUB_DISTRIBUTOR GRUB_CMDLINE_LINUX GRUB_CMDLINE_LINUX_DEFAULT GRUB_TERMINAL_OUTPUT GRUB_SERIAL_COMMAND GRUB_DISABLE_LINUX_UUID GRUB_GFXMODE
+export GRUB_DEFAULT GRUB_TIMEOUT GRUB_DISTRIBUTOR GRUB_CMDLINE_LINUX GRUB_CMDLINE_LINUX_DEFAULT GRUB_TERMINAL_OUTPUT GRUB_TERMINAL_INPUT GRUB_SERIAL_COMMAND GRUB_DISABLE_LINUX_UUID GRUB_GFXMODE
 
 if test "x${grub_cfg}" != "x"; then
   rm -f ${grub_cfg}.new


More information about the Pkg-grub-devel mailing list