Skip to contentSkip to conversation

module deps / location

DISCUSSION Alan Jenkins 1 participant 1 message Jun 10, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I have some comments on locatemodule() and resdeps() in dracut-functions.

resdeps() shouldn't need to loop to find all the module dependencies. "modprobe --show-depends" will show all the dependencies of a module, both direct and indirect.

And in locatemodule(), I can't understand why it tries to continue if the full path from "modprobe --showdepends" does not exist. I would expect it to just give up (and perhaps suggest re-running depmod), rather than searching for the module in other locations. Can anyone give me a hint?

Thanks
Alan
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html