LFS Questions
Ok, I decided to do an LFS install and I have a few questions. My main hard disk is running slack and LFS is mounted @ /mnt/lfs. Where do I download the files to? The static directory in /mnt/lfs or some place else? Thats all I can think of for right now, but I am sure I will have more later.
Thanks in advance |
I'd suggest placing them in /mnt/lfs/packages
Also, I'd suggest converting them all to bzip2 format. You can do that with these commands: find /mnt/lfs/packages -name "*.gz" -exec gzip -d {} \; find /mnt/lfs/packages -name "*.tar" -print -exec bzip2 {} \; It'll take a while depending on your system. That's why the "-print" was added... sort of a heartbeat to let you know it's still working. The benefit is, you'll be able to use "tar xvjf" throughout the book instead of alternating between "tar xvzf" and "tar xvjf". Just my two cents... |
That's bascially how I'm doing it. My partition is /LFS. I created the 'static' and 'packages' directories. I copied the packages in bz2 format into the 'packages' directory. (I bought the LFS CD since I have a 56K connection and the packages in there are already bz2. I just moved them to the hard drive to speed up the process on that P-II 400 system.)
Code:
[slacker@bsslack ~] $ cd /LFS lfs@bsslack:~$ cd /LFS/packages/temp lfs@bsslack:~$ tar xjvf ../gawk-3.1.1.tar.bz2 This leaves the bz2 packages in the ../packages directory and builds the package directories separately down in the ../temp directory as shown above. Then I copy any related patch file down into the temp/packagename directory and run it and ./configure and make and make install from down in there. And that's where I'm at so far. regards... |
All times are GMT -5. The time now is 01:44 AM. |