Article 5DK9K Questions about "Creating Essential Files and Symlinks" and "Libstdc++ from GCC-10.2.0, Pass 2".

Questions about "Creating Essential Files and Symlinks" and "Libstdc++ from GCC-10.2.0, Pass 2".

by
n00b_noob
from LinuxQuestions.org on (#5DK9K)
Hello,
I have two questions:

1- In "7.6. Creating Essential Files and Symlinks" I read "Some tests in Chapter 8 need a regular user. We add this user here and delete this account at the end of that chapter.", but I got below error:
Code:(lfs chroot) I have no name!:/# echo "tester:x:$(ls -n $(tty) | cut -d" " -f3):101::/home/tester:/bin/bash" >> /etc/passwd
ls: cannot access 'not': No such file or directory
ls: cannot access 'a': No such file or directory
ls: cannot access 'tty': No such file or directory2- In "7.7. Libstdc++ from GCC-10.2.0, Pass 2" I read "Libstdc++ is part of the GCC sources. You should first unpack the GCC tarball and change to the gcc-10.2.0 directory.", but I'm using "chroot" and can't access to "lfs-packages" files that I copied to "/mnt/LFS" directory!!!
How can I solve it?

Thank you.latest?d=yIl2AUoC8zA latest?i=2B_C175H9Y8:Ro5y-Lc0_1g:F7zBnMy latest?i=2B_C175H9Y8:Ro5y-Lc0_1g:V_sGLiP latest?d=qj6IDK7rITs latest?i=2B_C175H9Y8:Ro5y-Lc0_1g:gIN9vFw2B_C175H9Y8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments