Steve Pauly wrote:
Greetings,
Could someone give an example of how to patch, let's say, linux-2.2.2 to .3?
(I've been at 2.2.3 from sources, but I want to get ready to patch .3 to get to .4 when it comes out.)
In my case, I setup /usr/src/linux-2.2.2 and symlinked to linux. The patch file(patch-2.2.3) is sitting in /usr/src.
The kernel howto says to do this from /usr/src: patch -p0 < patch-2.2.3
When I do this, it deviates from the howto and asks for the file to patch!!? I am lost as to what to do now. From other reading, it seems to hint that the patch file needs the absolute path to the code to be patched, but this does not seem reasonable.
I must be doing something silly here, so someone please set me straight!!
Lost in Houston.
Steve.
I know what you mean Steve, I am as lost using the patch command. This strikes more hard, if you want to include something different from an kernel update patch, since there is an easier solution for that: copy your *gzipped* patchfile to .../linux/scripts in .../srcipts is a file called patch_kernel. just call it, it will look for the current version, for a collection on gzipped (*.gz) patchfiles and apply them in correct order. (itŽs possible that youŽll have to make it executable) I have a script "getpatch" that ftpŽs you all needet patches from the current to the desired kernel version. (found it between patches on a long forgotten ftp-server)
------------------------------------ Steve Pauly (281) 496-8041 Global Marine Drilling Co. stevep@linux-shell.net steve.pauly@glm.com gmdcman@mindspring.com
-- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
-- ========================================== __ _ Juergen Braukmann mail: brauki@cityweb.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu| /\\ /__/ / _ \/ // /\ \/ / ==========================================_\_v __/_/_//_/\_,_/ /_/\_\ -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>