Hi,

I am using Trisquel, a Debian-based operating system, to setup a CCLFS.
The following report might be a useful fix to a bug arising from
accessing /dev/pts from a Chroot environment; or possibly, trigger
useful comments.

When installing Binutils based on Section 10.15 of the CLFS book, I
wasn't able to check the proper operation of PTYs from '  expect -c
"spawn ls"  '. This, in spite of closely following the CLFS book's
instructions.

After some thought, I realized that the contents of the /dev/pts folder were not accessible from the Chroot environment. I was not able to find a fix from the
CLFS mailbox nor through a few other web resources.

After some thought, I solved the problem by applying the --rbind or -R
option instead of '-o bind'  in 'mount -v -o bind  /dev  $CLFS/dev '
suggested in Section 8.4 (Entering the Chroot Environment) of the book.
Hopefully, this will serve as a useful error fix to others and/or induce useful comments.

Bailo



_______________________________________________
Clfs-support mailing list
Clfs-support@lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to