mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01: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),
|
(not the <quote>sanitized</quote> kernel headers installed earlier),
|
||||||
which are beyond the scope of LFS.</para>
|
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
|
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
|
<screen><userinput remap="install">make install
|
||||||
|
|
||||||
for target in depmod insmod modinfo modprobe rmmod; do
|
for target in depmod insmod modinfo modprobe rmmod; do
|
||||||
ln -sfv ../bin/kmod /usr/sbin/$target
|
ln -sfv ../bin/kmod /usr/sbin/$target
|
||||||
rm -fv /usr/bin/$target
|
rm -fv /usr/bin/$target
|
||||||
done
|
done</userinput></screen>
|
||||||
|
|
||||||
ln -sfv kmod /usr/bin/lsmod</userinput></screen>
|
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user