diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-01-13 08:44:28 +0000 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-01-13 08:44:28 +0000 |
commit | 02776dffe135111ad7080784e6d00a83f8396bb8 (patch) | |
tree | aefbd76972283fd0aed1007f473a7bc6c4eb3011 /chapter08 | |
parent | a892a142e5d2e0c3f7a37ff6c28a552f6a7bceb8 (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 'chapter08')
-rw-r--r-- | chapter08/systemd.xml | 2 | ||||
-rw-r--r-- | chapter08/sysvinit.xml | 2 | ||||
-rw-r--r-- | chapter08/util-linux.xml | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index a97d73190..2d3e3525e 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -472,7 +472,7 @@ meson --prefix=/usr \ <term><command>runlevel</command></term> <listitem> <para>Outputs the previous and the current run-level, as noted in the - last run-level record in <filename>/var/run/utmp</filename></para> + last run-level record in <filename>/run/utmp</filename></para> <indexterm zone="ch-system-systemd runlevel"> <primary sortas="b-runlevel">runlevel</primary> </indexterm> diff --git a/chapter08/sysvinit.xml b/chapter08/sysvinit.xml index 4a68cc37b..0a13f78e1 100644 --- a/chapter08/sysvinit.xml +++ b/chapter08/sysvinit.xml @@ -185,7 +185,7 @@ <term><command>runlevel</command></term> <listitem> <para>Reports the previous and the current run-level, as noted in the - last run-level record in <filename>/var/run/utmp</filename></para> + last run-level record in <filename>/run/utmp</filename></para> <indexterm zone="ch-system-sysvinit runlevel-sysv"> <primary sortas="b-runlevel">runlevel</primary> </indexterm> diff --git a/chapter08/util-linux.xml b/chapter08/util-linux.xml index 04bd999e3..61e05a6cf 100644 --- a/chapter08/util-linux.xml +++ b/chapter08/util-linux.xml @@ -76,7 +76,8 @@ --disable-runuser \ --disable-pylibmount \ --disable-static \ - --without-python</userinput></screen> + --without-python \ + runstatedir=/run</userinput></screen> <para>The --disable and --without options prevent warnings about building components that require packages not in LFS or are |