mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: How to install Alan's patches?
  2001-02-13 15:03 How to install Alan's patches? Thomas Foerster
@ 2001-02-13 13:26 ` Arnaldo Carvalho de Melo
  2001-02-13 15:12 ` Tigran Aivazian
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Arnaldo Carvalho de Melo @ 2001-02-13 13:26 UTC (permalink / raw)
  To: Thomas Foerster; +Cc: linux-kernel

Em Tue, Feb 13, 2001 at 04:03:02PM +0100, Thomas Foerster escreveu:
> Hi folks,
> 
> sorry for the silly question, but i can't get it to work :
> 
> I have linux-2.4.1 unpacked, configured and installed.
> Now i want to apply Alan Cox patche (linux-2.4.1-ac9), but i always get
> these errors :
> 
> [root@space src]# cat /home/puck/patch-2.4.1-ac9 | patch -p0
> can't find file to patch at input line 4
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:

cd src/linux
cat /home/puck/patch-2.4.1-ac9 | patch -p1
                                         ^
                                         |

- Arnaldo

^ permalink raw reply	[flat|nested] 6+ messages in thread

* How to install Alan's patches?
@ 2001-02-13 15:03 Thomas Foerster
  2001-02-13 13:26 ` Arnaldo Carvalho de Melo
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Thomas Foerster @ 2001-02-13 15:03 UTC (permalink / raw)
  To: linux-kernel

Hi folks,

sorry for the silly question, but i can't get it to work :

I have linux-2.4.1 unpacked, configured and installed.
Now i want to apply Alan Cox patche (linux-2.4.1-ac9), but i always get
these errors :

[root@space src]# cat /home/puck/patch-2.4.1-ac9 | patch -p0
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla/CREDITS linux.ac/CREDITS
|--- linux.vanilla/CREDITS      Wed Jan 31 22:05:29 2001
|+++ linux.ac/CREDITS   Fri Feb  9 13:19:13 2001
--------------------------
File to patch: 
[root@space src]#

Do i have to create linux.vanilla and linux.ac, or what's the magic?! :-)

Thanx a lot,
  Thomas


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to install Alan's patches?
  2001-02-13 15:03 How to install Alan's patches? Thomas Foerster
  2001-02-13 13:26 ` Arnaldo Carvalho de Melo
@ 2001-02-13 15:12 ` Tigran Aivazian
  2001-02-13 15:24 ` bradley mclain
  2001-02-13 15:27 ` Alan Cox
  3 siblings, 0 replies; 6+ messages in thread
From: Tigran Aivazian @ 2001-02-13 15:12 UTC (permalink / raw)
  To: Thomas Foerster; +Cc: linux-kernel

Alan's patches are installed like this:

# cd /usr/src
# tar xIf linux-2.4.1.tar.bz2
# cd linux
# patch -sp1 < ../patch-2.4.1-ac6
# chown -R root:root .

Note the "-sp1" and that you need to be _inside_ the tree. Also, you don't
need to waste another process ("cat") and create a pipe, just use shell
input redirection facility "<".

Regards,
Tigran

On Tue, 13 Feb 2001, Thomas Foerster wrote:

> Hi folks,
> 
> sorry for the silly question, but i can't get it to work :
> 
> I have linux-2.4.1 unpacked, configured and installed.
> Now i want to apply Alan Cox patche (linux-2.4.1-ac9), but i always get
> these errors :
> 
> [root@space src]# cat /home/puck/patch-2.4.1-ac9 | patch -p0
> can't find file to patch at input line 4
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla/CREDITS linux.ac/CREDITS
> |--- linux.vanilla/CREDITS      Wed Jan 31 22:05:29 2001
> |+++ linux.ac/CREDITS   Fri Feb  9 13:19:13 2001
> --------------------------
> File to patch: 
> [root@space src]#
> 
> Do i have to create linux.vanilla and linux.ac, or what's the magic?! :-)
> 
> Thanx a lot,
>   Thomas
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to install Alan's patches?
  2001-02-13 15:03 How to install Alan's patches? Thomas Foerster
  2001-02-13 13:26 ` Arnaldo Carvalho de Melo
  2001-02-13 15:12 ` Tigran Aivazian
@ 2001-02-13 15:24 ` bradley mclain
  2001-02-13 15:27 ` Alan Cox
  3 siblings, 0 replies; 6+ messages in thread
From: bradley mclain @ 2001-02-13 15:24 UTC (permalink / raw)
  To: Thomas Foerster; +Cc: linux-kernel

from linux (/usr/src/linux) directory, if the patch is
up a level (/usr/src):

patch -p1 <../patch-2.4.1-ac9

hth,

bradley mclain

ps -- probably a google search with the string 'how to
install ac patches' will find some instructions for
you.

--- Thomas Foerster <puckwork@madz.net> wrote:
> Hi folks,
> 
> sorry for the silly question, but i can't get it to
> work :
> 
> I have linux-2.4.1 unpacked, configured and
> installed.
> Now i want to apply Alan Cox patche
> (linux-2.4.1-ac9), but i always get
> these errors :
> 
> [root@space src]# cat /home/puck/patch-2.4.1-ac9 |
> patch -p0
> can't find file to patch at input line 4
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -u --new-file --recursive --exclude-from
> /usr/src/exclude linux.vanilla/CREDITS
> linux.ac/CREDITS
> |--- linux.vanilla/CREDITS      Wed Jan 31 22:05:29
> 2001
> |+++ linux.ac/CREDITS   Fri Feb  9 13:19:13 2001
> --------------------------
> File to patch: 
> [root@space src]#
> 
> Do i have to create linux.vanilla and linux.ac, or
> what's the magic?! :-)
> 
> Thanx a lot,
>   Thomas
> 
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at 
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to install Alan's patches?
  2001-02-13 15:03 How to install Alan's patches? Thomas Foerster
                   ` (2 preceding siblings ...)
  2001-02-13 15:24 ` bradley mclain
@ 2001-02-13 15:27 ` Alan Cox
  2001-02-13 17:20   ` Russell King
  3 siblings, 1 reply; 6+ messages in thread
From: Alan Cox @ 2001-02-13 15:27 UTC (permalink / raw)
  To: Thomas Foerster; +Cc: linux-kernel

> |+++ linux.ac/CREDITS   Fri Feb  9 13:19:13 2001
> --------------------------
> File to patch: 
> [root@space src]#
> 
> Do i have to create linux.vanilla and linux.ac, or what's the magic?! :-)

Calling it linux.ac is one answer. Another one is

cd linux
patch -p1 <../patchfile

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to install Alan's patches?
  2001-02-13 15:27 ` Alan Cox
@ 2001-02-13 17:20   ` Russell King
  0 siblings, 0 replies; 6+ messages in thread
From: Russell King @ 2001-02-13 17:20 UTC (permalink / raw)
  To: Alan Cox; +Cc: Thomas Foerster, linux-kernel

Alan Cox writes:
> cd linux
> patch -p1 <../patchfile

patch -p1 -i ../patchfile means that patch won't read the whole patchfile
into a temporary file first, which it will do if patch reads from stdin.

--
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-02-13 18:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-13 15:03 How to install Alan's patches? Thomas Foerster
2001-02-13 13:26 ` Arnaldo Carvalho de Melo
2001-02-13 15:12 ` Tigran Aivazian
2001-02-13 15:24 ` bradley mclain
2001-02-13 15:27 ` Alan Cox
2001-02-13 17:20   ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®