LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 01-23-2012, 05:00 AM   #1
Atharv Patil
Member
 
Registered: Jan 2012
Location: Pune, Maharashtra, India
Distribution: Ubuntu, LFS, PC Linux OS, Puppy
Posts: 36

Rep: Reputation: Disabled
How to apply patches in lfs 7.0?


I looked fos the answer using google but it gave results for older versions. I looked in the respective book but did not find it. I think that i might over looked it, can any body help me?
 
Old 01-23-2012, 05:05 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Hi what problem do you have with the patches
 
Old 01-23-2012, 05:17 AM   #3
Atharv Patil
Member
 
Registered: Jan 2012
Location: Pune, Maharashtra, India
Distribution: Ubuntu, LFS, PC Linux OS, Puppy
Posts: 36

Original Poster
Rep: Reputation: Disabled
I want to know how to apply patches to there respective packages. I looked for it in the book but i didn't find it. Can you tell me how to?
 
Old 01-23-2012, 05:26 AM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Copy the patch onto source dir then the book has all that you need to do, wha chapter are you on
 
Old 01-23-2012, 10:30 AM   #5
magiknight
Member
 
Registered: Oct 2003
Posts: 37

Rep: Reputation: 4
The source or the built binary? If you mean the source then the above will work... you can't however patch a built binary with a source code patch, these patches are meant to patch uncompiled source only.
 
Old 01-23-2012, 11:17 AM   #6
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Hi

The Patches are listed in Chapter 3 Find the patch you need copy it into /mnt/lfs/soucres

Untar the package you are working on cd /mnt/lfs/sources/Package-name.

Code:
patch -Np1 -i ../Package
The "../" means it will lookin the previous dir "Sources" for the patch.

I was at work when I posted earlier
 
  


Reply

Tags
patch


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to apply patches in LFS centguy Linux From Scratch 7 07-23-2011 05:31 AM
apply patches linuxtesting2 Solaris / OpenSolaris 1 05-02-2006 02:51 PM
How to apply patches?? jadukor Slackware 4 12-02-2005 07:37 PM
How do you apply these WIFI patches? john_walsh54 Linux - Newbie 0 10-07-2003 06:49 AM
how to apply patches NGraphiX Linux - General 1 06-17-2003 06:04 AM


All times are GMT -5. The time now is 12:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration