Re: [SuSE Linux] Patching things up
At 3/4/99 3:56:00 PM, you wrote:
When I did a
patch -s <patch-2.2.2.gz
If you put the patch file in the /usr/src directory you probably need to run the -p1 switch. patch -p1 <patchfile Depending on how the patch is written, you may need to try -p0 or -p2 Also, make sure you have the symbolic link @linux pointing to your 2.2.0 source files. - 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>>
zentara wrote:
patch -s <patch-2.2.2.gz
patch -p1 <patchfile
Depending on how the patch is written, you may need to try -p0 or -p2
You may also wanna try decompressing the gz file before running patch, else try running zcat <file>.gz | patch -p from either outside the directory of the source your patching, or inside the directory of the source your patching (depending on how the patch was made) -- Ec|ipse on EFnet - tomas@primenet.com - <A HREF="http://www.primenet.com/~tomas"><A HREF="http://www.primenet.com/~tomas</A">http://www.primenet.com/~tomas</A</A>> Ec|ipse@|Watcher| - botnet webpage down until further notice Slackware Linux v3.6+ - Kernels 2.0.35/2.2.1 - 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>>
I tried to decompress the file first but I got a message that kind of goes like this: Hmmm... this doesn't seem like a zipped file I should have written it down, I know but anyway. So I went ahead and just tried to run the patch. Since I'm in /usr/src and the patch itself is in the same directory, I figured needed to add -p0. I thought -p1 is when you're in a different directory. patch S.Toms wrote:
zentara wrote:
patch -s <patch-2.2.2.gz
patch -p1 <patchfile
Depending on how the patch is written, you may need to try -p0 or -p2
You may also wanna try decompressing the gz file before running patch, else try running zcat <file>.gz | patch -p from either outside the directory of the source your patching, or inside the directory of the source your patching (depending on how the patch was made) -- Ec|ipse on EFnet - tomas@primenet.com - <A HREF="http://www.primenet.com/~tomas"><A HREF="http://www.primenet.com/~tomas</A">http://www.primenet.com/~tomas</A</A>> Ec|ipse@|Watcher| - botnet webpage down until further notice Slackware Linux v3.6+ - Kernels 2.0.35/2.2.1 - 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>>
- 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>>
participants (3)
-
tomas@primenet.com
-
yatsen-ng@cistron.nl
-
zentara@mindspring.com