Bug#397775: update-grub skips kernels which names is part of an installed xen-kernel name.

Markus Schulz msc at antzsystem.de
Thu Nov 9 12:58:50 CET 2006


Package: grub
Version: 0.97-18
Severity: normal
Tags: patch

if an installed kernel is part of the name of an installed xen kernel,
update-grub will skip this kernel.

Patch:
--- /usr/sbin/update-grub.real  2006-09-20 21:46:31.000000000 +0200
+++ update-grub.real    2006-11-09 12:55:15.000000000 +0100
@@ -894,3 +894,3 @@
        # found a kernel
-        if `echo "$xenKernels" | grep -q $kern` ; then
+        if `echo "$xenKernels" | grep -q "$kern "` ; then
           continue



Don't know if this was best solution, but it was one ;)

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages grub depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libncurses5                  5.5-5       Shared libraries for terminal hand

grub recommends no packages.

-- debconf-show failed




More information about the Pkg-grub-devel mailing list