LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS Chapter 5 Questions (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-chapter-5-questions-524826/)

kz_chopper 02-01-2007 08:11 PM

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:

gilead 02-01-2007 10:12 PM

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.

kz_chopper 02-02-2007 06:25 PM

Thanks Steve...I guess I better RTFM a little more carefully

gilead 02-02-2007 06:55 PM

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.

kz_chopper 02-02-2007 07:55 PM

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...

kz_chopper 02-04-2007 03:13 AM

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?

gilead 02-04-2007 04:45 AM

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?

kz_chopper 02-04-2007 08:53 AM

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.