mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 13:07:50 +00:00
kmod: Remove an unnecessary command and adjust the description
/usr/bin/lsmod is already created by the building system.
This commit is contained in:
parent
9ac55efa5e
commit
e7231421fd
@ -84,18 +84,19 @@
|
||||
(not the <quote>sanitized</quote> kernel headers installed earlier),
|
||||
which are beyond the scope of LFS.</para>
|
||||
|
||||
<para>Install the package and create symlinks for
|
||||
<para>Install the package and recreate some symlinks for
|
||||
compatibility with Module-Init-Tools (the package that previously handled
|
||||
Linux kernel modules):</para>
|
||||
Linux kernel modules) in
|
||||
<filename class='directory'>/usr/sbin</filename> instead of
|
||||
<filename class='directory'>/usr/bin</filename> (where the building
|
||||
system will create these symlinks):</para>
|
||||
|
||||
<screen><userinput remap="install">make install
|
||||
|
||||
for target in depmod insmod modinfo modprobe rmmod; do
|
||||
ln -sfv ../bin/kmod /usr/sbin/$target
|
||||
rm -fv /usr/bin/$target
|
||||
done
|
||||
|
||||
ln -sfv kmod /usr/bin/lsmod</userinput></screen>
|
||||
done</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user