LFS 6.2 6.6. Creating Essential Files and Symlinks
I am working on a scripting build system to build LFS 6.3 from a subversion repository. I have successfully built all the chapters up to the end of 5. I am starting on Chapter 6. From Chapter 6.6. Creating Essential Files and Symlinks To remove the “I have no name!” prompt, start a new shell. Since a full Glibc was installed in Chapter 5 and the /etc/passwd and /etc/group files have been created, user name and group name resolution will now work: exec /tools/bin/bash --login +h I believe that if I skip that it will not cause any trouble. Am I correct? Thanks -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS 6.2 6.6. Creating Essential Files and Symlinks
On Mon, Jan 21, 2008 at 07:06:17PM -0500, Baho Utot wrote: > > To remove the “I have no name!” prompt, start a new shell. Since a full Glibc > was installed in Chapter 5 and the /etc/passwd and /etc/group files have been > created, user name and group name resolution will now work: > > exec /tools/bin/bash --login +h > > I believe that if I skip that it will not cause any trouble. > > Am I correct? > If you mean "can I omit this single command which the book tells me to run after installing the final version of bash ?" the answer is yes. I do that in my own scripts. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS 6.2 6.6. Creating Essential Files and Symlinks
On Jan 21, 2008 4:06 PM, Baho Utot <[EMAIL PROTECTED]> wrote: > I am working on a scripting build system to build LFS 6.3 from a subversion > repository. > > I have successfully built all the chapters up to the end of 5. > > I am starting on Chapter 6. > > From Chapter 6.6. Creating Essential Files and Symlinks > > To remove the "I have no name!" prompt, start a new shell. Since a full Glibc > was installed in Chapter 5 and the /etc/passwd and /etc/group files have been > created, user name and group name resolution will now work: > > exec /tools/bin/bash --login +h > > I believe that if I skip that it will not cause any trouble. > > Am I correct? Yes, that's fine. Since you're running a script, you won't have a prompt, anyway. What you could do is re-exec the script after creating the passwd and group files, but it's probably more effort than it's worth to keep track of arguments and existing state. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS 6.2 6.6. Creating Essential Files and Symlinks
On Monday 21 January 2008 7:24:03 pm Ken Moffat wrote: > On Mon, Jan 21, 2008 at 07:06:17PM -0500, Baho Utot wrote: > > To remove the “I have no name!” prompt, start a new shell. Since a full > > Glibc was installed in Chapter 5 and the /etc/passwd and /etc/group files > > have been created, user name and group name resolution will now work: > > > > exec /tools/bin/bash --login +h > > > > I believe that if I skip that it will not cause any trouble. > > > > Am I correct? > > If you mean "can I omit this single command which the book tells > me to run after installing the final version of bash ?" the answer > is yes. > > I do that in my own scripts. > > ĸen > -- > das eine Mal als Tragödie, das andere Mal als Farce Yes that is what I am asking Thank you -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page