Re: [PATCH] depmod: New option for m-i-t prior 3.6 compatibility
From: Daniel Hilst Selli <hidden>
Date: 2014-07-23 13:27:48
On 07/22/2014 06:27 PM, Lucas De Marchi wrote:
On Mon, Jul 21, 2014 at 4:33 PM, Daniel Hilst SellI [off-list ref] wrote:quoted
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? 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,