Automatic merge of trunk into multilib

This commit is contained in:
Thomas Trepl 2024-01-05 00:30:09 +01:00
commit 89c61e5d99
2 changed files with 10 additions and 3 deletions

View File

@ -150,7 +150,7 @@ cd build</userinput></screen>
for a dynamic linker to perform symbol lookup. On LFS the dynamic
linker (provided by the Glibc package) will always use the
GNU-style hash table which is faster to query. So the classic
ELF hash table is completely useless. This makes the the linker
ELF hash table is completely useless. This makes the linker
only generate the GNU-style hash table by default, so we can avoid
wasting time to generate the classic ELF hash table when we build
the packages, or wasting disk space to store it.</para>

View File

@ -126,9 +126,10 @@ meson setup \
</variablelist>
<para>Get the list of the shipped udev helpers and save it into an
environment variable:</para>
environment variable (exporting it is not strictly necessary, but it makes
building as a regular user or using a package manager easier):</para>
<screen><userinput remap="make">udev_helpers=$(grep "'name' :" ../src/udev/meson.build | \
<screen><userinput remap="make">export udev_helpers=$(grep "'name' :" ../src/udev/meson.build | \
awk '{print $3}' | tr -d ",'" | grep -v 'udevadm')</userinput></screen>
<para>Only build the components needed for udev:</para>
@ -186,6 +187,12 @@ sed 's|lib.*udevd|sbin/udevd|' \
rm /usr/share/man/man*/systemd*</userinput></screen>
<para>Finally, unset the <envar>udev_helpers</envar> variable:</para>
<!-- remap="make" seems confusing but we don't have sth. like
remap="clean". -->
<screen><userinput remap="make">unset udev_helpers</userinput></screen>
</sect2>
<!-- - - - - - - - - - -->