Changeset e4b4c5a0 for chapter08/kmod.xml
- Timestamp:
- 07/01/2024 06:59:19 AM (3 months ago)
- Branches:
- xry111/clfs-ng
- Children:
- 2b63974
- Parents:
- fe48a03 (diff), 201aa93 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/kmod.xml
rfe48a03 re4b4c5a0 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.