Changes in chapter08/kmod.xml [7152faa:e2d3b4b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/kmod.xml
r7152faa re2d3b4b 85 85 which are beyond the scope of LFS.</para> 86 86 87 <para>Install the package and create symlinks for87 <para>Install the package and recreate some symlinks for 88 88 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> 90 93 91 94 <screen><userinput remap="install">make install … … 93 96 for target in depmod insmod modinfo modprobe rmmod; do 94 97 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 99 done</userinput></screen> 98 100 99 101 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.