aboutsummaryrefslogtreecommitdiffstats
path: root/chapter09
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-09-21 15:06:11 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-09-21 15:06:11 +0800
commit4f56024885a8095bb7efeb06aadb8dae1feaf98a (patch)
treec400cfb6f28145a77d67abc2fab502266e02b751 /chapter09
parent35d257851a785ad975749cc240cbd52d0518b619 (diff)
clarify that the system "*ctl" commands won't work in chroot
Diffstat (limited to 'chapter09')
-rw-r--r--chapter09/clock.xml5
-rw-r--r--chapter09/consoled.xml5
-rw-r--r--chapter09/locale.xml5
3 files changed, 9 insertions, 6 deletions
diff --git a/chapter09/clock.xml b/chapter09/clock.xml
index 585017e35..01f0efef9 100644
--- a/chapter09/clock.xml
+++ b/chapter09/clock.xml
@@ -69,8 +69,9 @@ EOF</userinput></screen>
<screen role="nodump"><userinput>timedatectl list-timezones</userinput></screen>
- <note><para>Please note that the <command>timedatectl</command> command can
- be used only on a system booted with systemd.</para></note>
+ <note><para>Please note that the <command>timedatectl</command> command
+ doesn't work in the chroot environment. It can only
+ be used after the LFS system is booted with systemd.</para></note>
<sect2>
<title>Network Time Synchronization</title>
diff --git a/chapter09/consoled.xml b/chapter09/consoled.xml
index 1425f0410..3abf16e3c 100644
--- a/chapter09/consoled.xml
+++ b/chapter09/consoled.xml
@@ -88,8 +88,9 @@ EOF</userinput></screen>
<screen role="nodump"><userinput>localectl set-keymap MAP</userinput></screen>
- <note><para>Please note that the <command>localectl</command> command can
- be used only on a system booted with systemd.</para></note>
+ <note><para>Please note that the <command>localectl</command> command
+ doesn't work in the chroot environment. It can only
+ be used after the LFS system is booted with systemd.</para></note>
<para>You can also use <command>localectl</command> utility with the
corresponding parameters to change X11 keyboard layout, model, variant
diff --git a/chapter09/locale.xml b/chapter09/locale.xml
index 65cffc570..9c0cecb2b 100644
--- a/chapter09/locale.xml
+++ b/chapter09/locale.xml
@@ -132,8 +132,9 @@ EOF</userinput></screen>
<screen role="nodump"><userinput>localectl set-locale LANG="en_US.UTF-8" LC_CTYPE="en_US"</userinput></screen>
- <note><para>Please note that the <command>localectl</command> command can
- be used only on a system booted with systemd.</para></note>
+ <note><para>Please note that the <command>localectl</command> command
+ doesn't work in the chroot environment. It can only
+ be used after the LFS system is booted with systemd.</para></note>
<para>The <quote>C</quote> (default) and <quote>en_US</quote> (the recommended
one for United States English users) locales are different. <quote>C</quote>