DragonFly commits List (threaded) for 2007-05
DragonFly BSD
DragonFly commits List (threaded) for 2007-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern kern_linker.c


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Mon, 7 May 2007 11:24:08 +0900

On Sun, May 06, 2007 at 11:26:48PM +0200, Thomas Nikolajsen wrote:
> >y0netan1    2007/05/05 09:13:53 PDT
> >  Modified files:
> >    sys/kern             kern_linker.c 
> >  Log:
> >  (essential part of rev 1.54 in FreeBSD)
> >  Pull out the module path from the loader.
> ..
> Essential part from 1.54 is missing:
> kldload(8) fails after this change: fails to find module.

Well, I don't think that the essential part of 1.54 was to fix
inconsistency of handling path components in module_path between
the boot loader and the linker_search_path(); that was actually
in rev 1.68 :)  But you're right, I broke it.

> Hint:
> /boot/defaults/loader.conf:module_path="/;/boot;/modules"
> /sys/kern/kern_linker.c:linker_path[]="/;/boot/;/modules/"

Just committed a fix.

Thanks.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]