----- Original Message ----- From: "Denys Vlasenko" <[email protected]> To: "Chris Monkiewicz" <[email protected]> Cc: <[email protected]> Sent: Thursday, June 18, 2009 12:35 PM Subject: Re: Modules.dep Paths
> On Thu, Jun 18, 2009 at 5:08 AM, Chris > Monkiewicz<[email protected]> wrote: > > I'm having a problem with modprobe and modules.dep. Depmod on Ubuntu 9.04 > > generates modules.dep with relative paths. This seems to be the new behavior > > of mod-init-tools. We're using busybox 1.12.1 which expects modules.dep to > > have absolute paths. > > > Do newer versions of busybox expect absolute or > > relative paths? > > Current modprobe code (and 1.14.x, 1.13.x too) chdir's into > /lib/module/`uname -r`, > so it _should_ (meaning: I did not test it) work ok with modules.dep > with names relative to that directory. > For curiosity, I tested that on master tree. Just made a sed on bb modules.dep to shorten the path. Relative path look to work with modprobe. This spare 12 K on modules.dep size for our modules list, approximately 1/3 of original file size. Gilles _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
