Bug#381737: update-grub: Does not like my custom built kernel

Tobias Klauser tklauser at access.unizh.ch
Sun Aug 6 20:37:59 UTC 2006


Package: grub
Version: 0.97-13
Severity: normal

I like to build my own kernel using make-kpkg on some of the Debian
systems I administrate. As I store all packages of these custom kernels
in one location I name them after the machine they were built for. One
of my machines is called "xenon" (after the noble gas). So the name of
the kernel is e.g. vmlinuz-2.6.17-1-xenon.

This specific name renders some problems to recent versions of
update-grub which also handle Xen kernels. The culprit seems to be in
line 898 of /sbin/update-grub

for kern in $(/bin/ls -1vr /boot | grep -v "dpkg-*" | grep -v "xen" | grep "^vmlinuz-") ; do

which discards all kernels which contain the string "xen". Of course my
custom built kernel for the machine "xenon" does.

I admit, this is very specific to my system, but still I think this
should be fixed.

Let me know if I could help in any further way.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=en_GB, LC_CTYPE=de_CH (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB)

Versions of packages grub depends on:
ii  libc6                         2.3.6-18   GNU C Library: Shared libraries
ii  libncurses5                   5.5-2      Shared libraries for terminal hand

grub recommends no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20060806/bc36f3b3/attachment.pgp


More information about the Pkg-grub-devel mailing list