aboutsummaryrefslogtreecommitdiffstats
path: root/chapter02/hostreqs.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2023-03-09 19:51:42 -0600
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2023-03-09 19:51:42 -0600
commit25cd02b9dbe663840ed19855d09eca9abbab5258 (patch)
tree00e1541747acf3424814b42aeb2c9f8cfa8d7990 /chapter02/hostreqs.xml
parent6e4dfa7528a5098c09ad5dcfe26ba2b2e504a3b1 (diff)
parentde679165f9a63ce94202d356abbae2b9a3bff5c3 (diff)
Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk
Diffstat (limited to 'chapter02/hostreqs.xml')
-rw-r--r--chapter02/hostreqs.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml
index 801a7e992..192eed8c1 100644
--- a/chapter02/hostreqs.xml
+++ b/chapter02/hostreqs.xml
@@ -105,6 +105,12 @@
compiling the kernel and configuring the boot loader (assuming the host
uses GRUB) are located in <xref linkend="chapter-bootable"/>.</para>
+ <para>We require the host kernel to support UNIX 98 pseudo terminal
+ (PTY). It should be enabled on all desktop or server distros shipping
+ Linux &min-kernel; or a newer kernel. If you are building a custom
+ host kernel, ensure <option>CONFIG_UNIX98_PTYS</option> is set to
+ <literal>y</literal> in the kernel configuration.</para>
+
</listitem>
<listitem>
@@ -230,6 +236,10 @@ ver_check Texinfo texi2any 4.7
ver_check Xz xz 5.0.0
ver_kernel &min-kernel;
+if mount | grep -q 'devpts on /dev/pts' &amp;&amp; [ -e /dev/ptmx ]
+then echo "OK: Linux Kernel supports UNIX 98 PTY";
+else echo "ERROR: Linux Kernel does NOT support UNIX 98 PTY"; fi
+
alias_check() {
if $1 --version 2>&amp;1 | grep -qi $2
then printf "OK: %-4s is $2\n" "$1";