cvs commit: src/sys/kern kern_linker.c

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Sun May 6 19:24:25 PDT 2007


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.





More information about the Commits mailing list