Changeset 372bbbb for chapter08/udev.xml
- Timestamp:
- 12/21/2023 11:30:17 PM (10 months ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/udev.xml
r9bfff29 r372bbbb 126 126 </variablelist> 127 127 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 128 134 <para>Only build the components needed for udev:</para> 129 135 130 136 <screen><userinput remap="make">ninja udevadm systemd-hwdb \ 131 137 $(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> 133 140 134 141 <para>Install the package:</para> … … 148 155 -not -name '*power-switch*') /usr/lib/udev/rules.d/ 149 156 install -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 157 install -vm755 $udev_helpers /usr/lib/udev 152 158 install -vm644 ../network/99-default.link /usr/lib/udev/network</userinput></screen> 153 159
Note:
See TracChangeset
for help on using the changeset viewer.