LFS Chapter 5 Questions
This is my first attempt at building an LFS kernel...I am building LFS 6.2. My computer is running Debian Sarge 3.1 with a 2.6.8 kernel using all files from the LFS live CD 6.2-4
I have managed to find the answers to most of my questions but... How do I apply patches? I have gotten as far as chapter 5.5, Binutils-2.16.1 and GCC-4.0.3 installed with no errors but after rereading the chapters, I have not applied any patches. Looking for both the code and where to find reference. :newbie: |
At that point, there isn't any patching to be done. The first patch gets applied at 5.9. Expect-5.43.0. Have a look there - they provide the command line to run.
|
Thanks Steve...I guess I better RTFM a little more carefully
|
It's a good project for RTFM practice too ;) I'm just about to start on another box at work. LFS is a good choice because I want to keep as much space free for data as possible.
|
Yeah...I was so keen to get on with it that I wasn't reading ahead to understand what was happening/going to happen...just blindly entering commands into the terminal. Not a good way for me to grasp what I am doing...
|
OK, I finished chapter 5 with no errors. I have a dual boot machine, Sarge - 2.6.8 and Etch - 2.6.17-2...the build thus far has been using Sarge as the host. The book says that the rest of the build is done as root...can I switch to using Etch as the host or will this cause any issues?
|
No, you need to be chroot'ed into the new environment so that everything you do is with the tools you have created and in the correct environment. Have you had a chance to read through 6.4. Entering the Chroot Environment yet?
|
G'Day
Not yet, I'm at work for the next few hours...planning to have a read this afternoon and maybe chroot in to have a look around. The build is going pretty well so far. I have run all of the tests as I progressed through (even though they are not required), the only errors were the ones that were to be expected. |
All times are GMT -5. The time now is 09:51 AM. |