Changeset 529345e for chapter08/udev.xml
- Timestamp:
- 12/05/2023 05:18:41 AM (7 months ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/udev.xml
rb671ead r529345e 55 55 56 56 <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> 57 62 58 63 <para>Prepare Udev for compilation:</para> … … 130 135 <para>Install the package:</para> 131 136 132 <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb ,rules}.d137 <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb.d,rules.d,network} 133 138 install -vm755 -d /usr/{lib,share}/pkgconfig 134 139 install -vm755 udevadm /usr/bin/ … … 145 150 install -vm644 hwdb.d/* ../hwdb.d/{*.hwdb,README} /usr/lib/udev/hwdb.d/ 146 151 install -vm755 $(find src/udev \ 147 -type f -not -name '*.*') /usr/lib/udev</userinput></screen> 152 -type f -not -name '*.*') /usr/lib/udev 153 install -vm644 ../network/99-default.link /usr/lib/udev/network</userinput></screen> 148 154 149 155 <para>Install some custom rules and support files useful in an LFS … … 160 166 --no-same-owner --strip-components=1 \ 161 167 -C /usr/share/man --wildcards '*/udev*' '*/libudev*' \ 168 '*/systemd.link.5' \ 162 169 '*/systemd-'{hwdb,udevd.service}.8 170 171 sed 's|systemd/network|udev/network|' \ 172 /usr/share/man/man5/systemd.link.5 \ 173 > /usr/share/man/man5/udev.link.5 174 163 175 sed 's/systemd\(\\\?-\)/udev\1/' /usr/share/man/man8/systemd-hwdb.8 \ 164 176 > /usr/share/man/man8/udev-hwdb.8 177 165 178 sed 's|lib.*udevd|sbin/udevd|' \ 166 179 /usr/share/man/man8/systemd-udevd.service.8 \ 167 180 > /usr/share/man/man8/udevd.8 168 rm /usr/share/man/man8/systemd-*.8</userinput></screen> 181 182 rm /usr/share/man/man*/systemd*</userinput></screen> 169 183 170 184 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.