Changeset 53ed17c


Ignore:
Timestamp:
01/04/2024 06:22:44 PM (5 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
164e0dd
Parents:
acde0a3
Message:

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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/udev.xml

    racde0a3 r53ed17c  
    127127
    128128    <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 | \
     129    environment variable (exporting it is not strictly necessary, but it makes
     130    building as a regular user or using a package manager easier):</para>
     131
     132    <screen><userinput remap="make">export udev_helpers=$(grep "'name' :" ../src/udev/meson.build | \
    132133               awk '{print $3}' | tr -d ",'" | grep -v 'udevadm')</userinput></screen>
    133134
Note: See TracChangeset for help on using the changeset viewer.