Am 2017-09-16 um 19:07 schrieb Pierre Labastie:
On 16/09/2017 12:07, David Brandl wrote:
Hi!
I made a mistake in 5.3 - there you have to check, if your $LFS shows to the
right directory.
As I mounted my partition with lfs to the /home/~user~ directory I overread
the part in 4.4 where
|LFS=/mnt/lfs |
So now my $LFS is targeting to /mnt/lfs - that´s not right.
What I´m thinking about is, that I´m user lfs with his default shell and so
on. What if i change the $LFS now - can I get problems at this point?
Thanks a lot!
Whatever the location of your partition with lfs, in this example
/home/<user>/lfs if I understand correctly, that location should be contained
into the LFS variable:
---
LFS=/home/<user>/lfs
---
Note that this setting should be made permananent by putting the same
instruction in lfs user's ".bashrc" file. Also, always check that it is set as
well when running instructions as root; use "su" or "sudo", not "su -".
As for your question: you can change LFS now, but be sure you have put nothing
into /mnt/lfs. If you have, you should move or copy the content of /mnt/lfs to
/home/<user>/lfs. And do not forget to change .bashrc.
Pierre
Hi!
Thanks - yes I understand, that I should have everything on
/home/~user~/lfs, where I have the partition mounted.
But my fear was, that I failed something, as I work as an other user in
the shell now.
Where is the difference now?
When I open the .bashrc with nano, the file is empty.
How do I open it correctly?
Thanks a lot!
|
|
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style