Changeset 372bbbb for chapter08/udev.xml


Ignore:
Timestamp:
12/21/2023 11:30:17 PM (10 months ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib, xry111/multilib
Children:
5288b29
Parents:
9bfff29 (diff), 3608380f (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:

Automatic merge of trunk into multilib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/udev.xml

    r9bfff29 r372bbbb  
    126126    </variablelist>
    127127
     128    <para>Get the list of the shipped udev helpers and save it into an
     129    environment variable:</para>
     130
     131    <screen><userinput remap="make">udev_helpers=$(grep "'name' :" ../src/udev/meson.build | \
     132               awk '{print $3}' | tr -d ",'" | grep -v 'udevadm')</userinput></screen>
     133
    128134    <para>Only build the components needed for udev:</para>
    129135
    130136    <screen><userinput remap="make">ninja udevadm systemd-hwdb                                           \
    131137      $(ninja -n | grep -Eo '(src/(lib)?udev|rules.d|hwdb.d)/[^ ]*') \
    132       $(realpath libudev.so --relative-to .)</userinput></screen>
     138      $(realpath libudev.so --relative-to .)                         \
     139      $udev_helpers udevadm</userinput></screen>
    133140
    134141    <para>Install the package:</para>
     
    148155                      -not -name '*power-switch*') /usr/lib/udev/rules.d/
    149156install -vm644 hwdb.d/*  ../hwdb.d/{*.hwdb,README} /usr/lib/udev/hwdb.d/
    150 install -vm755 $(find src/udev \
    151                       -type f -not -name '*.*')    /usr/lib/udev
     157install -vm755 $udev_helpers                       /usr/lib/udev
    152158install -vm644 ../network/99-default.link          /usr/lib/udev/network</userinput></screen>
    153159
Note: See TracChangeset for help on using the changeset viewer.