mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
export the udev_helpers variable
Since it is needed for both building and installing, exporting it allows to have it defined even if building as a regular user (so that sudo is run for installing) or using a package manager (which usually runs in a new shell and forgets unexported variables)
This commit is contained in:
parent
acde0a383a
commit
53ed17c752
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user