how to download or copy patches
I recently started trying to use LFS from within virtualbox & when I come to patches it is not a downloadable file so I copy & paste the patch.
I just want to know what is the correct way to copy the patch? Am I supposed to copy the patch as a document? |
Hi
Thats all I do then name it as the patch you need. Place it in the sources dir |
Quote:
As an alternative you can download the lfs packages tarbal, which also includes all the patches. (ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/) |
Quote:
Quote:
|
Thank both of you for your input I'm finally compiling Binutils.
Btw it's a good thing I'm doing it in VM I wiped out 1 last night trying to remove a symlink to lfs, that 1 is no longer bootable drops to grub rescue. Not only that, the VM I destroyed was 1 that I built using debootstrap. |
If you use the wget script, it will download all the LFS packages, including the script package and patches when ran.
|
Quote:
Any way after destroying 1 VM & 3 failed attempts, I made it to compiling glibc 2x's both times failing at "make install", I finally realized that glibc required a patch, of course only after manually downloading all of the files 3x's to sources directory. Now it's finally doing "make install" Iactually think that my install failed on 2nd pass of binutils. So I guess I will find out if glibc was the cause of it. |
You download the wget-list into your /root or /home/%user% directory and then execute it. Then you download and copy the md5sum file into the /mnt/lfs/source directory and run it.
|
I was just looking back at LFS guide & it doesn't show that the glibc patch is applied until chapter 6.
Putting the patch in chapter 5 allowed glibc-build to complete & "make install". Should I have waited until chapter 6 to apply patch? Another change I made was to do Quote:
|
Quote:
Quote:
2 errors have been found in the LFS 7.2 book and these are mentioned here: http://www.linuxfromscratch.org/lfs/errata/7.2/ Glibc is too important and a possible error in the book would have surfaced by now. Quote:
|
Thank you< it's a good thing it's only a VM I can start over & try it again
|
Well after hours of compiling I think that I'll go ahead & redo everything although I haven't recieved any errors even when running this command after "make install" glibc.
Quote:
|
The good thing about using a VM is now, you can create a VHD which is compatible with Windows7/2008R2 and use it as an actual attached boot device, then if you need to work on it, you can use VirtualBox or another compatible VM to work on the VHD OS through chroot.
|
All times are GMT -5. The time now is 09:39 AM. |