[Clfs-support] (No subject)
bailongom at aol.com
bailongom at aol.com
Sat Sep 17 05:16:52 PDT 2011
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
More information about the Clfs-support
mailing list