Ignore:
Timestamp:
03/08/2023 03:25:48 AM (14 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
7160772, a8c261b, d0a9bda4
Parents:
e0fb109
git-author:
Xi Ruoyao <xry111@…> (03/08/2023 03:21:34 AM)
git-committer:
Xi Ruoyao <xry111@…> (03/08/2023 03:25:48 AM)
Message:

Adjustments for /dev/pts

  1. Declare UNIX98 PTY requirement in host system requirements and check it in the script. All desktop or server distros should have it now, but let's stop anyone from building on a embedded distro w/o UNIX98 PTY early...
  2. Use Expect test suite as a guard against mishandled $LFS/dev/pts.
  3. No need to test the basic function of Expect in Binutils anymore because if ($LFS)/dev/pts is not good, the Expect test suite would have failed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/expect.xml

    re0fb109 r835e40c  
    8383<screen><userinput remap="make">make</userinput></screen>
    8484
     85    <important>
     86      <para>The test suite for Expect is considered critical.
     87      Do not skip it under any circumstances.</para>
     88    </important>
     89
    8590    <para>To test the results, issue:</para>
    8691
    8792<screen><userinput remap="test">make test</userinput></screen>
     93
     94    <para>If any test fails with the message
     95    <quote><computeroutput>The system has no more ptys.  Ask your system
     96    administrator to create more</computeroutput></quote>, it indicates
     97    you've not mounted the
     98    <systemitem class="filesystem">devpts</systemitem> file system
     99    correctly.  You need to exit from the chroot environment, read
     100    <xref linkend='ch-tools-kernfs'/> again, and ensure the
     101    <systemitem class="filesystem">devpts</systemitem> file system (and
     102    other virtual kernel file systems) mounted correctly.  Then reenter
     103    the chroot environment following <xref linkend='ch-tools-chroot'/>.
     104    This issue needs to be resolved before continuing.</para>
    88105
    89106    <para>Install the package:</para>
Note: See TracChangeset for help on using the changeset viewer.