aboutsummaryrefslogtreecommitdiffstats
path: root/chapter02/hostreqs.xml
diff options
context:
space:
mode:
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 e3a06df4e..78a9c0561 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";