Bug#265915: Should exclude .dpkg-* from kernel list

Matt Zimmerman Matt Zimmerman <mdz@debian.org>, 265915@bugs.debian.org
Sun, 15 Aug 2004 10:45:54 -0700


Package: grub
Version: 0.95+cvs20040624-7
Severity: normal

I just saw this happen, when upgrading a kernel-image package to a new
version:

Unpacking replacement kernel-image-2.6.7-1-386 ...
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file... found: /boot/grub/menu.lst .
Found kernel: /boot/vmlinuz-2.6.7-1-386
Found kernel: /boot/vmlinuz-2.6.7-1-386.dpkg-tmp
Updating /boot/grub/menu.lst ... done

The .dpkg-tmp file is a temporary dpkg file which existed only during the
upgrade.  I suggest excluding .dpkg-* (at least) from the list.

-- 
 - mdz