On Sun, Sep 7, 2014 at 5:03 AM, akhiezer <[email protected]> wrote:

> > From [email protected] Sun Sep  7 10:58:22
> 2014
> > Date: Sun, 07 Sep 2014 10:58:01 +0100
> > From: [email protected] (akhiezer)
> > To: LFS Support List <[email protected]>
> > Subject: Re: [lfs-support] section 9.3
> >
> > > > Bear in mind too that your lfs build environment is inside a chroot,
> and
> > > > so won't see all of the host-os filesystem. You (basically) need to
> get
> > > > the 'lynx2.8.8rel.2.tar.bz2' file into a directory that can be seen
> from
> > > > within the chroot.
> > > >
> > > > hth,
> > >
> > > Isn't that what 'mount --bind ...' is for?
> >
> >
> > In the host-os of the machine where you're building lfs, if you followed
> the
> > book then you set LFS=/mnt/lfs and will have /mnt/lfs/sources dir. Also
> > in the host-os, do you have a '/sources' symlink that points to the
> > '/mnt/lfs/sources' dir?
> >
> >
> > From within the lfs chroot build area, that same dir will appear as a dir
> > (not a symlink) called '/sources'  .
> >
> >
> > For your scp command, simplest thing just now would be to copy into '/' ,
> > and then from the host-os on the build-machine, just go and move it into
> > /mnt/lfs/sources dir; and then go into the lfs chroot build area and
> _from
> > there_ check that it appears in the '/sources' dir.
> >
> >
> > Bind-mounting essentially just makes a 'real' directory path available
> > via an additional directory path. It partly/superficially like making a
> > symlink, for some cases; but the two are not really the same thing.
> >
>
>
> Just to perhaps clarify: when you run scp, it is very likely (at this
> stage)
> connecting to the host-os (ubuntu or debian or mint or whatever) on the
> build-machine; the lfs os that you're building, isn't yet 'in control' of
> the machine. So (unless you've configured scp/ssh to behave differently)
> it's very likely seeing the filesystem structure of the host-os.
>
>
> The lfs area on the build-machine is contained under the /mnt/lfs dir,
> as viewed from the host-os. So you would want scp to put stuff directly
> into /mnt/lfs/sources . Then, when you are in the lfs chroot (where
> you're compiling lfs, etc) you would see the same scp-copied file under
> '/sources' dir


I did something to get it into the chroot env but I can't repeat the
process for the patch to openssl-1.0.1i! I scp the file to /mnt/lfs/sources
but it stil isn't available to that environment. I even tried closing my
terminaland restarting everything.... but to no avail! Can someone help me
figure out how to put files in the chroot environ?
-- 
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

Reply via email to