BLFS from host?

chris.danx chris.danx at
Tue Nov 12 13:46:29 PST 2002

Ainsley Pereira wrote:

> Hash: SHA1
> On Tuesday 12 November 2002 21:16, chris.danx wrote:
> >Just wondering if you can do something similar to what was done with lfs
> >and build some of the packages using chroot.  Can it be done?  I'd
> >rather be doing something when it's building the packages and don't want
> >to be sitting around.
> Actually I usually do that - the only thing to beware of is things 
> that check which is the current kernel version running, which might 

> be different for your host distro. 

So doing

chroot $LFS /bin/env -i \
     HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
     PATH=/bin:/usr/bin:/sbin:/usr/sbin: \
     /bin/bash --login

is ok?

> The only thing I've come across that does this is the
> NVidia drivers (which I usually compile when I've booted into the LFS). I
> think XFree86 notes which kernel was running when built, but doesn't do
> anything about it. Other than that, you can compile all of gnome/kde 
> etc no
> problem.

ok, thanks, I'll try it!

Unsubscribe: send email to listar at
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list