Package: debhelper Version: 4.2.31 Severity: important
dh_installmodules is used to create postinst and postrm scripts for debianized kernel modules. The problem is the following : I'm running kernel 2.6.x and I'm building a bundle of two debian packages (kernel-image-2.6.y and foobar-module for 2.6.y) Install of both packages goes well but when I try to load the foobar module after booting my new 2.6.y kernel, foobar is not known. The problem comes from the update-modules script : update-modules only updates the running kernel's modules.dep. In my case, 2.6.x modules.dep got updated when installing the foobar-module package for 2.6.y. Looking at the alsa-source, I found that they didn't use dh_installmodules at all and wrote their own postinst and postrm template scripts to call depmod -a using the associated System.map file (in my case System.map-2.6.y) and specifying explicitly the kernel version (2.6.y). depmod command looks like this : depmod -A -F /boot/System.map-2.6.y 2.6.y By the way, I've only been testing with 2.6 kernels but I think the problem is the same with the 2.4 series. Could you change how dh_installmodules behaves and generate postinst and postrm scripts that takes this problem into account ? Thank you in advance. Jerome Vizcaino -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.10 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages debhelper depends on: ii binutils 2.15-5 The GNU assembler, linker and bina ii coreutils [fileutils] 5.2.1-2 The GNU core utilities ii debconf-utils 1.4.46 debconf utilities ii dpkg-dev 1.10.27 Package building tools for Debian ii file 4.12-1 Determines file type using "magic" ii fileutils 5.2.1-2 The GNU file management utilities ii html2text 1.3.2a-1 An advanced HTML to text converter ii perl 5.8.4-8 Larry Wall's Practical Extraction ii po-debconf 0.8.22 manage translated Debconf template -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]