Package: kernel-package Version: 12.004 Severity: normal Hi,
There are typos in /usr/share/kernel-package/examples/etc/kernel/header_postinst.d/link modiles instead of modules. Patch attached Regards Jean-Luc -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (900, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.29-k8-2 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages kernel-package depends on: ii binutils 2.19.51.20090315-1 The GNU assembler, linker and bina ii build-essential 11.4 Informational list of build-essent ii debianutils 3.0.1 Miscellaneous utilities specific t ii file 5.00-1 Determines file type using "magic" ii gettext 0.17-6 GNU Internationalization utilities ii make 3.81-5 The GNU version of the "make" util ii module-init-tools 3.7-pre9-1 tools for managing Linux kernel mo ii po-debconf 1.0.16 tool for managing templates file t ii util-linux 2.13.1.1-1 Miscellaneous system utilities kernel-package recommends no packages. Versions of packages kernel-package suggests: ii bzip2 1.0.5-1 high-quality block-sorting file co ii docbook-utils 0.6.14-1.1 Convert Docbook files to other for ii e2fsprogs 1.41.3-1 ext2/ext3/ext4 file system utiliti ii initramfs-tools [linux-in 0.93.2 tools for generating an initramfs pn libdb3-dev <none> (no description available) ii libncurses5-dev [libncurs 5.7+20090404-1 developer's libraries and docs for ii linux-source-2.6.29 [linu 2.6.29-2 Linux kernel source for version 2. ii xmlto 0.0.22-1 XML-to-any converter -- no debconf information
--- link.orig 2009-04-12 13:55:16.570714857 +0200 +++ link 2009-04-12 13:56:39.890465483 +0200 @@ -35,10 +35,10 @@ if [ -d "/usr/src/linux-headers-$version" ]; then # See if we have a kernel image of the same version already # installed. - if [ -d "/lib/modiles/$version" ] && - [ ! -e "/lib/modiles/$version/build" ]; then - if ! ln -s "/usr/src/linux-headers-$version" "/lib/modiles/$version/build" ; then - echo >&2 "Could not link /usr/src/linux-headers-$version to /lib/modiles/$version/build"; + if [ -d "/lib/modules/$version" ] && + [ ! -e "/lib/modules/$version/build" ]; then + if ! ln -s "/usr/src/linux-headers-$version" "/lib/modules/$version/build" ; then + echo >&2 "Could not link /usr/src/linux-headers-$version to /lib/modules/$version/build"; fi fi # Make sure the asm link is sane