aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/udev.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2024-01-05 03:05:01 +0800
committerXi Ruoyao <xry111@xry111.site>2024-01-05 03:05:01 +0800
commit164e0ddbce14b4df88bda8de0bd12fb3d1e7428f (patch)
tree207da36338fac0e7f79818998dbd3a16661232cb /chapter08/udev.xml
parent53ed17c75265ab1c2ac6638a6dd57d8e93d788f2 (diff)
udev: Unset udev_helpers after installation
Now this variable is exported, thus it might potentially cause unwanted side effects building other packages. So unset it after installation.
Diffstat (limited to 'chapter08/udev.xml')
-rw-r--r--chapter08/udev.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter08/udev.xml b/chapter08/udev.xml
index b4ecbe656..6b3b00b94 100644
--- a/chapter08/udev.xml
+++ b/chapter08/udev.xml
@@ -187,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>
<sect2 id="conf-udev" role="configuration">