diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2023-03-09 19:51:42 -0600 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2023-03-09 19:51:42 -0600 |
commit | 25cd02b9dbe663840ed19855d09eca9abbab5258 (patch) | |
tree | 00e1541747acf3424814b42aeb2c9f8cfa8d7990 /chapter02/hostreqs.xml | |
parent | 6e4dfa7528a5098c09ad5dcfe26ba2b2e504a3b1 (diff) | |
parent | de679165f9a63ce94202d356abbae2b9a3bff5c3 (diff) |
Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk
Diffstat (limited to 'chapter02/hostreqs.xml')
-rw-r--r-- | chapter02/hostreqs.xml | 10 |
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' && [ -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>&1 | grep -qi $2 then printf "OK: %-4s is $2\n" "$1"; |