Changeset f6548ac for chapter08/kmod.xml


Ignore:
Timestamp:
05/08/2024 05:36:31 PM (4 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
161a267
Parents:
e4e7ffb (diff), c5a1240 (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.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/arm64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/kmod.xml

    re4e7ffb rf6548ac  
    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.