Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/kmod.xml

    r7152faa re2d3b4b  
    8585    which are beyond the scope of LFS.</para>
    8686
    87     <para>Install the package and create symlinks for
     87    <para>Install the package and recreate some symlinks for
    8888    compatibility with Module-Init-Tools (the package that previously handled
    89     Linux kernel modules):</para>
     89    Linux kernel modules).  The building system will create all these
     90    symlinks in <filename class='directory'>/usr/bin</filename>, but we
     91    only want <command>lsmod</command> there and all other symlinks in
     92    <filename class='directory'>/usr/sbin</filename> instead:</para>
    9093
    9194<screen><userinput remap="install">make install
     
    9396for target in depmod insmod modinfo modprobe rmmod; do
    9497  ln -sfv ../bin/kmod /usr/sbin/$target
    95 done
    96 
    97 ln -sfv kmod /usr/bin/lsmod</userinput></screen>
     98  rm -fv /usr/bin/$target
     99done</userinput></screen>
    98100
    99101  </sect2>
Note: See TracChangeset for help on using the changeset viewer.