Harald Dunkel <harald.dun...@aixigo.de> writes: > Package: initramfs-tools > Version: 0.110 > Severity: wishlist > > It would be very nice if mkinitramfs considers the kernel > module dependencies when creating the initrd. /lib/modules/\ > 3.8.?/modules.dep shows pretty clear that ehci-hcd depends > upon ehci-pci, for example. See #700572. > > This would make initramfs-tools much more insusceptible to > future changes in the module dependencies.
The idea is good, but the example is bad. ehci-pci depends on ehci-hcd, not the other way round. So automatic dependency tracking would not have bought you anything in this case. bjorn@nemi:/tmp$ modinfo ehci-hcd ehci-pci filename: /lib/modules/3.9.0-rc5+/kernel/drivers/usb/host/ehci-hcd.ko license: GPL author: David Brownell description: USB 2.0 'Enhanced' Host Controller (EHCI) Driver depends: usbcore intree: Y vermagic: 3.9.0-rc5+ SMP mod_unload modversions parm: log2_irq_thresh:log2 IRQ latency, 1-64 microframes (int) parm: park:park setting; 1-3 back-to-back async packets (uint) parm: ignore_oc:ignore bogus hardware overcurrent indications (bool) filename: /lib/modules/3.9.0-rc5+/kernel/drivers/usb/host/ehci-pci.ko license: GPL author: Alan Stern author: David Brownell description: EHCI PCI platform driver alias: pci:v0000104Ad0000CC00sv*sd*bc*sc*i* alias: pci:v*d*sv*sd*bc0Csc03i20* depends: usbcore,ehci-hcd intree: Y vermagic: 3.9.0-rc5+ SMP mod_unload modversions Bjørn -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org