depmod: New option for m-i-t prior 3.6 compatibility
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · Lucas De Marchi
Quoted 3 lines · Daniel Hilst SellI
New option (-N, --no-relative) create databases with absolute paths. This option is made to create databases compatible with module-init-tools prior 3.6 version.
What's the use case here? Do you want a newer depmod to create a database to be read by ancient modprobe (from 2008 as far as I could check)? Why?
Quoted 7 lines
If it was the opposite (make modprobe to work with old database), I could understand. But I can't really see why you are doing this here and it just sounds crazy to me.
Lucas De Marchi
I work with embedded systems from 2009, which use modprobe from m-i-t 3.4, updating m-i-t means update tons of nodes. Of course I can simply run depmod from target and get everything fixed, but this creates a dependence of running stuff after installing the image, which is unproductive. I want images working out-of-box after generated.
So I patched depmod to generate databases compatible with my old systems, without harming new features.
Cheers,