Package: rt73-source
Version: 1:1.0.3.6-cvs20071013-1
Severity: normal

The rt73-module*.postinst scripts contain the following code:

,----
| # Package maintainer's commands follow:
| if [ "`uname -r`" = "2.6.22.12" ]; then
|     /sbin/depmod -a
| fi
| # End of package maintainer's commands
`----

This is suboptimal, because depmod will not be run if you install a
module for a not running kernel; and since the Debian init scripts do
not run depmod at all, the module will not work until depmod is run
manually.  You should probably do something like that (taken from the
nvidia-kernel postinst):

,----
| # Automatically added by dh_installmodules
| if [ "$1" = "configure" ]; then
|       if [ -e /boot/System.map-2.6.22.12 ]; then
|               depmod -a -F /boot/System.map-2.6.22.12 2.6.22.12 || true
|       fi
| fi
| # End automatically added section
`----

This insures that depmod is run even if the kernel for the module is
not currently running.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.12
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rt73-source depends on:
ii  bzip2                         1.0.3-7    high-quality block-sorting file co
ii  module-assistant              0.10.11    tool to make module package creati
ii  yada                          0.54       Yet Another Debianisation Aid

Versions of packages rt73-source recommends:
ii  rt73-common      1:1.0.3.6-cvs20071013-1 RT73(RT2571W) Wireless Lan Linux D

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to