From 835e40ce16b6043f6349cc37ff83ee701d961ee5 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 8 Mar 2023 11:21:34 +0800 Subject: 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. --- chapter08/binutils.xml | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'chapter08/binutils.xml') diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml index eb83563bb..cf1c4f895 100644 --- a/chapter08/binutils.xml +++ b/chapter08/binutils.xml @@ -41,29 +41,6 @@ Installation of Binutils - Verify that the PTYs are working properly inside the chroot - environment by performing a simple test: - -expect -c "spawn ls" - - This command should output the following: - -spawn ls - - If, instead, the output includes the message below, then the environment - is not set up for proper PTY operation. This issue needs to be resolved before - running the test suites for Binutils and GCC: - -The system has no more ptys. -Ask your system administrator to create more. - The Binutils documentation recommends building Binutils in a dedicated build directory: -- cgit v1.2.3-54-g00ecf