aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/util-linux.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-01-13 08:44:28 +0000
committerXi Ruoyao <xry111@mengyan1223.wang>2021-01-13 08:44:28 +0000
commit02776dffe135111ad7080784e6d00a83f8396bb8 (patch)
treeaefbd76972283fd0aed1007f473a7bc6c4eb3011 /chapter07/util-linux.xml
parenta892a142e5d2e0c3f7a37ff6c28a552f6a7bceb8 (diff)
use /run for runtime state directories
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12093 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/util-linux.xml')
-rw-r--r--chapter07/util-linux.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/chapter07/util-linux.xml b/chapter07/util-linux.xml
index a598cb4bc..7c11642fe 100644
--- a/chapter07/util-linux.xml
+++ b/chapter07/util-linux.xml
@@ -58,7 +58,8 @@
--disable-runuser \
--disable-pylibmount \
--disable-static \
- --without-python</userinput></screen>
+ --without-python \
+ runstatedir=/run</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
@@ -90,6 +91,15 @@
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>runstatedir=/run</parameter></term>
+ <listitem>
+ <para>This switch sets the location of the socket used by
+ <command>uuidd</command> and
+ <filename class="libraryfile">libuuid</filename> correctly.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>Compile the package:</para>