[ofa-general] Re: [PATCH] installer: update kernel symbol versions

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Tue Apr 17 06:16:05 PDT 2007


On Tue, 2007-04-17 at 11:48 +0300, Yosef Etigin wrote:
> Enable users to build modules over OFED kernel code without additional steps.
> 
> install.sh:
>   post-install step (conditioned on kernel-ib-devel installation):
>    1. save ${K_SRC}/Module.symvers to ${K_SRC}/Module.symvers.save
>    2. update ${K_SRC}/Module.symvers with symbol versions from ${K_TREE}/updates/kernel
> 
> uninstall.sh: 
>   restore ${K_SRC}/Module.symvers.save
> 
> Signed-off-by: Yosef Etigin <yosefe at voltaire.com>

If one will update Module.symvers after OFED installation, then OFED
uninstall will remove this update...

See /usr/src/linux/Documentation/kbuild/modules.txt:

--- 7.3 Symbols from another external module

-- 
Vladimir Sokolovsky <vlad at dev.mellanox.co.il>
Mellanox Technologies Ltd.




More information about the general mailing list