# HG changeset patch # User Florian Pose # Date 1215508086 0 # Node ID 745a0cc0314398fa2dee6f3293e823aca48bfbe8 # Parent 3552b4c46f109902e122d10990170ea2aaf4838c Added depmod call to docs. diff -r 3552b4c46f10 -r 745a0cc03143 INSTALL --- a/INSTALL Tue Jul 08 08:55:54 2008 +0000 +++ b/INSTALL Tue Jul 08 09:08:06 2008 +0000 @@ -24,6 +24,7 @@ # make install # make modules_install +# depmod ...and linking the init script and copying the sysconfig file from $PREFIX/etc to the appropriate locations and customizing the sysconfig file. diff -r 3552b4c46f10 -r 745a0cc03143 documentation/ethercat_doc.tex --- a/documentation/ethercat_doc.tex Tue Jul 08 08:55:54 2008 +0000 +++ b/documentation/ethercat_doc.tex Tue Jul 08 09:08:06 2008 +0000 @@ -3102,14 +3102,17 @@ \section{Installation} -The below commands have to be entered as \textit{root}: The first one -will install the kernel modules to the kernel's modules directory. The -second one will install EtherCAT headers, the init script, the -sysconfig file and the user space tools to the prefix path. +The below commands have to be entered as \textit{root}: The first one will +install the EtherCAT header, init script, sysconfig file and the user space +tools to the prefix path. The second one will install the kernel modules to the +kernel's modules directory. The following \lstinline+depmod+ call is necessary +to include the kernel modules into the \textit{modules.dep} file to make it +available to the \lstinline+modprobe+ command, used in the init script. \begin{lstlisting} +# `\textbf{make install}` # `\textbf{make modules\_install}` -# `\textbf{make install}` +# `\textbf{depmod}` \end{lstlisting} If the target kernel's modules directory is not under \textit{/lib/modules}, a