Changeset 7c1fce4e


Ignore:
Timestamp:
05/08/2021 01:19:49 PM (6 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/usr-move
Children:
c7ef59f
Parents:
be628b7
git-author:
Xi Ruoyao <xry111@…> (05/08/2021 01:17:59 PM)
git-committer:
Xi Ruoyao <xry111@…> (05/08/2021 01:19:49 PM)
Message:

usr-move: change references to /lib/{udev,systemd} to their /usr counterparts

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter08/eudev.xml

    rbe628b7 r7c1fce4e  
    6565    will also be used as a part of installation:</para>
    6666
    67 <screen><userinput remap="test">mkdir -pv /lib/udev/rules.d
     67<screen><userinput remap="test">mkdir -pv /usr/lib/udev/rules.d
    6868mkdir -pv /etc/udev/rules.d</userinput></screen>
    6969
     
    9898    <para>Information about hardware devices is maintained in the
    9999    <filename class="directory">/etc/udev/hwdb.d</filename> and
    100     <filename class="directory">/lib/udev/hwdb.d</filename> directories.
     100    <filename class="directory">/usr/lib/udev/hwdb.d</filename> directories.
    101101    <application>Eudev</application> needs that information to be compiled
    102102    into a binary database <filename>/etc/udev/hwdb.bin</filename>. Create the
     
    119119
    120120      <seglistitem>
    121         <seg><!-- These are in /lib/udev and not to be called by the user:
     121        <seg><!-- These are in /usr/lib/udev and not to be called by the user:
    122122         accelerometer, ata_id, cdrom_id, collect, mtd_probe,
    123123         scsi_id, v4l_id,--> udevadm and udevd</seg>
     
    125125        <seg>libudev.so</seg>
    126126
    127         <seg>/etc/udev, /lib/udev, and /usr/share/doc/udev-&udev-lfs-version;</seg>
     127        <seg>/etc/udev, /usr/lib/udev, and /usr/share/doc/udev-&udev-lfs-version;</seg>
    128128      </seglistitem>
    129129    </segmentedlist>
  • chapter08/glibc.xml

    rbe628b7 r7c1fce4e  
    222222
    223223    <screen revision="systemd"><userinput remap="install">install -v -Dm644 ../nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf
    224 install -v -Dm644 ../nscd/nscd.service /lib/systemd/system/nscd.service</userinput></screen>
     224install -v -Dm644 ../nscd/nscd.service /usr/lib/systemd/system/nscd.service</userinput></screen>
    225225
    226226    <para>Next, install the locales that can make the system respond in a
  • chapter08/systemd.xml

    rbe628b7 r7c1fce4e  
    240240        <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
    241241        libnss_resolve.so.2, libnss_systemd.so.2,
    242         libsystemd.so, libsystemd-shared-&systemd-version;.so (in /lib/systemd),
     242        libsystemd.so, libsystemd-shared-&systemd-version;.so (in /usr/lib/systemd),
    243243        and libudev.so</seg>
    244244        <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
    245245        /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
    246         /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
     246        /etc/xdg/systemd, /usr/lib/systemd, /usr/lib/udev, /usr/include/systemd,
    247247        /usr/lib/binfmt.d, /usr/lib/environment.d, /usr/lib/kernel,
    248248        /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd,
  • chapter09/symlinks.xml

    rbe628b7 r7c1fce4e  
    4949      Generate these rules by running:</para>
    5050
    51 <screen role="install"><userinput>bash /lib/udev/init-net-rules.sh</userinput></screen>
     51<screen role="install"><userinput>bash /usr/lib/udev/init-net-rules.sh</userinput></screen>
    5252
    5353      <para> Now, inspect the
  • chapter09/udev.xml

    rbe628b7 r7c1fce4e  
    109109      udevd</command>.  Based on the rules specified in the files within the
    110110      <filename class="directory">/etc/udev/rules.d</filename>, <filename
    111       class="directory">/lib/udev/rules.d</filename>, and <filename
     111      class="directory">/usr/lib/udev/rules.d</filename>, and <filename
    112112      class="directory">/run/udev/rules.d</filename> directories, <command>
    113113      udevd</command> will create additional symlinks to the device node, or
     
    286286      <systemitem class="filesystem">sysfs</systemitem>. This is most common
    287287      with third party drivers from outside the kernel tree. Create a static
    288       device node in <filename>/lib/udev/devices</filename> with the
     288      device node in <filename>/usr/lib/udev/devices</filename> with the
    289289      appropriate major/minor numbers (see the file
    290290      <filename>devices.txt</filename> inside the kernel documentation or the
Note: See TracChangeset for help on using the changeset viewer.