On Monday, June 23, 2014 05:10:04 PM Bruce Dubbs wrote:
> Ken Moffat wrote:
> > On Mon, Jun 23, 2014 at 07:56:42PM +0100, Ken Moffat wrote:
> >> try
> >> 
> >> echo "INPUT(-lncursesw)" >/tools/lib/libncurses.so
> >> 
> >>   We do the equivalent in chapter 6.
> >   
> >   Baho's configure switches look nicer than my suggestion.
> 
> It's really unclear to me why an editor is needed inside chroot.  Is LFS
> being built from a console only?  If so, transition to the 21st century:

Aha, My distro my rules?

Where is your sense of adventure? ;^)

> 
> Window 1:
> 
> $ sudo /usr/sbin/chroot /mnt/lfs /usr/bin/env -i HOME=/root TERM="$TERM"
> PS1="\u:\w\\\\$ " PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools /bin/bash
> --login'
> 
> root:/$ cd /sources
> root:/sources$ ...
> 
> Window 2:
> 
> user@localhost [ ~ ] $ cd /mnt/lfs/sources
> user@localhost [ /mnt/lvs/sources ] $ sudo vim whatever
> 
> The windows can be virtual terminals in Xorg or ssh sessions.  It's
> slightly less convenient, but they can also be virtual consoles.
> 
>    -- Bruce

You have two very good solutions, but sometimes you would like to tweak 
something so vim /etc/passwd could be a good thing.



-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to