aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-06-06 17:28:25 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-06-06 17:28:25 +0000
commit2ccccf7389e260407b17fcca3997d21f2135662f (patch)
treea8ad8827fc4c635f83f47b00bab309b8a0177041 /chapter08
parent5111cd577a8f2230b84fb3e4ff806973400721f1 (diff)
Adjusted locale settings for Bash testsuite run and kernel's make menuconfig.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8149 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/kernel.xml27
1 files changed, 23 insertions, 4 deletions
diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml
index 03ca3bd1b..ea7005308 100644
--- a/chapter08/kernel.xml
+++ b/chapter08/kernel.xml
@@ -55,7 +55,26 @@
packages outside of LFS at <ulink
url="&blfs-root;view/svn/longindex.html#kernel-config-index"/>:</para>
-<screen role="nodump"><userinput>make menuconfig</userinput></screen>
+<screen role="nodump"><userinput>make LANG=<replaceable>&lt;host_LANG_value&gt;</replaceable> LC_ALL= menuconfig</userinput></screen>
+
+ <variablelist>
+ <title>The meaning of the make parameters:</title>
+
+ <varlistentry>
+ <term><parameter>LANG=&lt;host_LANG_value&gt; LC_ALL=</parameter></term>
+ <listitem>
+ <para>This establishes the locale setting to the one used on the host.
+ This is needed for a proper menuconfig ncurses interface line
+ drawing on UTF-8 linux text console.</para>
+
+ <para>Be sure to replace <replaceable>&lt;host_LANG_value&gt;</replaceable>
+ by the value of the <envar>$LANG</envar> variable from your host.
+ If not set, you could use also the host's value of <envar>$LC_ALL</envar>
+ or <envar>$LC_CTYPE</envar>.</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
<para>Alternatively, <command>make oldconfig</command> may be more
appropriate in some situations. See the <filename>README</filename>
@@ -143,9 +162,9 @@ cp -r Documentation/* /usr/share/doc/linux-&linux-version;</userinput></screen>
<para>The headers in the system's
<filename class="directory">include</filename> directory should
<emphasis>always</emphasis> be the ones against which Glibc was compiled,
- that is, the sanitised headers from the Linux kernel tarball.
- Therefore, should <emphasis>never</emphasis> be replaced by the raw kernel
- headers or if upgrading the kernel.</para>
+ that is, the sanitised headers from this Linux kernel tarball.
+ Therefore, thay should <emphasis>never</emphasis> be replaced by either
+ the raw kernel headers or any other kernel sanitized headers.</para>
</warning>
</sect2>