Changeset 529345e for chapter08/udev.xml


Ignore:
Timestamp:
12/05/2023 05:18:41 AM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch, xry111/loongarch-12.1
Children:
ecce62c
Parents:
b671ead (diff), dc8572f (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/loongarch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/udev.xml

    rb671ead r529345e  
    5555
    5656 <screen><userinput remap="pre">sed '/systemd-sysctl/s/^/#/' -i rules.d/99-systemd.rules.in</userinput></screen>
     57
     58    <para>Adjust the hardcoded paths to network configuration files for the
     59    standalone udev installation:</para>
     60
     61 <screen><userinput remap="pre">sed '/NETWORK_DIRS/s/systemd/udev/' -i src/basic/path-lookup.h</userinput></screen>
    5762
    5863    <para>Prepare Udev for compilation:</para>
     
    130135    <para>Install the package:</para>
    131136
    132     <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb,rules}.d
     137    <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb.d,rules.d,network}
    133138install -vm755 -d /usr/{lib,share}/pkgconfig
    134139install -vm755 udevadm                             /usr/bin/
     
    145150install -vm644 hwdb.d/*  ../hwdb.d/{*.hwdb,README} /usr/lib/udev/hwdb.d/
    146151install -vm755 $(find src/udev \
    147                       -type f -not -name '*.*')    /usr/lib/udev</userinput></screen>
     152                      -type f -not -name '*.*')    /usr/lib/udev
     153install -vm644 ../network/99-default.link          /usr/lib/udev/network</userinput></screen>
    148154
    149155    <para>Install some custom rules and support files useful in an LFS
     
    160166    --no-same-owner --strip-components=1                              \
    161167    -C /usr/share/man --wildcards '*/udev*' '*/libudev*'              \
     168                                  '*/systemd.link.5'                  \
    162169                                  '*/systemd-'{hwdb,udevd.service}.8
     170
     171sed 's|systemd/network|udev/network|'                                 \
     172    /usr/share/man/man5/systemd.link.5                                \
     173  > /usr/share/man/man5/udev.link.5
     174
    163175sed 's/systemd\(\\\?-\)/udev\1/' /usr/share/man/man8/systemd-hwdb.8   \
    164176                               > /usr/share/man/man8/udev-hwdb.8
     177
    165178sed 's|lib.*udevd|sbin/udevd|'                                        \
    166179    /usr/share/man/man8/systemd-udevd.service.8                       \
    167180  > /usr/share/man/man8/udevd.8
    168 rm  /usr/share/man/man8/systemd-*.8</userinput></screen>
     181
     182rm /usr/share/man/man*/systemd*</userinput></screen>
    169183
    170184  </sect2>
Note: See TracChangeset for help on using the changeset viewer.