[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#369256: installation-reports: modprobe does not find kernel modules



Control: reassign -1 kernel-wedge

On Sat, 2014-03-01 at 03:00 +0100, Cyril Brulebois wrote:
> Control: reassign -1 src:linux
> Control: retitle -1 please ship module indices in udebs
> 
> Ben Hutchings <ben@decadent.org.uk> (2014-03-01):
> > Or we could ship the module indices in kernel-image-* (I thought we did
> > because kernel-wedge does run depmod, but that's just so it can use
> > modules.dep at build time).
> 
> That looks very fine to me, please go ahead. :)
> 
> > This won't work if there are OOT module udebs, though.  (There aren't
> > any in Debian any more, but there might be in derivatives.)
> 
> Those few packages can ship a postinst script to update indices through
> depmod I suspect.

The problem is, if depmod is *ever* run in the installer environment,
then it must also be run after every new module installation.  And it is
run by many different scripts currently:

hw-detect/disk-detect.sh
hw-detect/ethdetect.sh
hw-detect/hw-detect.sh
kickseed/setup/hd
kickseed/setup/nfs
live-installer/support/btrfs
live-installer/support/extX
live-installer/support/squashfs
lvmcfg/lvmcfg.sh
mdcfg/mdcfg.sh
os-prober/os-probes/init/common/10filesystems
partman-auto-raid/auto-raidcfg
partman-base/partman
partman-crypto/lib/crypto-base.sh
partman-lvm/init.d/lvm-devices
partman-md/init.d/md-devices
s390-dasd/debian/postinst

Ben.

-- 
Ben Hutchings
If at first you don't succeed, you're doing about average.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: