Stephen Berman wrote:
On Mon, 23 Oct 2017 20:39:22 +0200 "Michael D." <[email protected]> wrote:
There is no problem in skipping Chapter 8, you can always do that later.
If you want to install software, you can do it from your Debian Installation -
you just use Chroot (Just like when you installed the LFS-System).
[...]
One thing though - until you get Wget, Lynx or similar program installed, you
have to download software with you Debian, and then copy the software packages
into the LFS system.
I installed many BLFS packages in chroot, but when I tried downloading
them with wget, it failed with this message: "unable to resolve host
address ‘www.x.org’", so I had to download them in the host system. I
assume this is because I was connected to the internet in the host
system but not in chroot (in particular, my /etc/resolv.conf is
generated by dhcpcd, which was not running in chroot). Is it possible
to connect to the internet in chroot while being connected in the host
system? (I suppose I could just try that sometime, but maybe someone
here happens to know the answer.)
You can run the host debian to retrieve files and build in chroot. Use
the host's browser or wget to directly save where the files are available
in chroot.
For instance, I use /usr/src/<package>/* to hold my source tarballs and
build scripts. If on the host, just do:
cd /mnt/lfs/usr/src/<package>
wget <package>.tar.xz
Then change to the chroot window and build.
-- Bruce
--
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