public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Applying 2.5.4-pre1 patch
@ 2002-02-06 11:56 Pierre Rousselet
  2002-02-06 13:17 ` Alessandro Suardi
  2002-02-06 20:43 ` Jeff Garzik
  0 siblings, 2 replies; 9+ messages in thread
From: Pierre Rousselet @ 2002-02-06 11:56 UTC (permalink / raw)
  To: lkml

Patching drivers/char/gameport with /dev/null doesn't work for me. What 
is the trick ?

Pierre
-- 
------------------------------------------------
  Pierre Rousselet <pierre.rousselet@wanadoo.fr>
------------------------------------------------


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

* Re: Applying 2.5.4-pre1 patch
  2002-02-06 11:56 Applying 2.5.4-pre1 patch Pierre Rousselet
@ 2002-02-06 13:17 ` Alessandro Suardi
  2002-02-06 16:48   ` Alessandro Suardi
  2002-02-06 20:43 ` Jeff Garzik
  1 sibling, 1 reply; 9+ messages in thread
From: Alessandro Suardi @ 2002-02-06 13:17 UTC (permalink / raw)
  To: Pierre Rousselet; +Cc: lkml

Pierre Rousselet wrote:
> 
> Patching drivers/char/gameport with /dev/null doesn't work for me. What
> is the trick ?

In my case has been

 - untar 2.5.3 in /usr/src/linux
 - cd linux; ln -s linux a
 - patch
 - cd /usr/src; mv b/drivers/input/* /usr/src/linux/drivers/input
 - build

I only have to reboot and see if it works :)

--alessandro

 "If your heart is a flame burning brightly
   you'll have light and you'll never be cold
  And soon you will know that you just grow / You're not growing old"
                              (Husker Du, "Flexible Flyer")

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

* Re: Applying 2.5.4-pre1 patch
  2002-02-06 13:17 ` Alessandro Suardi
@ 2002-02-06 16:48   ` Alessandro Suardi
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Suardi @ 2002-02-06 16:48 UTC (permalink / raw)
  To: Pierre Rousselet; +Cc: lkml

Alessandro Suardi wrote:
> 
> Pierre Rousselet wrote:
> >
> > Patching drivers/char/gameport with /dev/null doesn't work for me. What
> > is the trick ?
> 
> In my case has been
> 
>  - untar 2.5.3 in /usr/src/linux
>  - cd linux; ln -s linux a
>  - patch
>  - cd /usr/src; mv b/drivers/input/* /usr/src/linux/drivers/input
>  - build
> 
> I only have to reboot and see if it works :)
>

Hmm - oops on boot :( maybe later I'll have some time to repeat,
 copy down oops and decode it.

--alessandro

 "If your heart is a flame burning brightly
   you'll have light and you'll never be cold
  And soon you will know that you just grow / You're not growing old"
                              (Husker Du, "Flexible Flyer")

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

* Re: Applying 2.5.4-pre1 patch
  2002-02-06 11:56 Applying 2.5.4-pre1 patch Pierre Rousselet
  2002-02-06 13:17 ` Alessandro Suardi
@ 2002-02-06 20:43 ` Jeff Garzik
  2002-02-06 20:59   ` Pierre Rousselet
  1 sibling, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2002-02-06 20:43 UTC (permalink / raw)
  To: Pierre Rousselet; +Cc: lkml

Pierre Rousselet wrote:
> 
> Patching drivers/char/gameport with /dev/null doesn't work for me. What
> is the trick ?

/dev/null indicates a new, or a removed, file.

-- 
Jeff Garzik      | "I went through my candy like hot oatmeal
Building 1024    |  through an internally-buttered weasel."
MandrakeSoft     |             - goats.com

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

* Re: Applying 2.5.4-pre1 patch
  2002-02-06 20:43 ` Jeff Garzik
@ 2002-02-06 20:59   ` Pierre Rousselet
  2002-02-06 21:08     ` Brian Gerst
  2002-02-06 21:13     ` Jeff Garzik
  0 siblings, 2 replies; 9+ messages in thread
From: Pierre Rousselet @ 2002-02-06 20:59 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: lkml

Jeff Garzik wrote:
> Pierre Rousselet wrote:
> 
>>Patching drivers/char/gameport with /dev/null doesn't work for me. What
>>is the trick ?
>>
> 
> /dev/null indicates a new, or a removed, file.

'patch -p0 < patch' is confused by this : "sure you want to delete this 
file ?"

Are there some arguments to add on the cmd line ?

Pierre
-- 
------------------------------------------------
  Pierre Rousselet <pierre.rousselet@wanadoo.fr>
------------------------------------------------


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

* Re: Applying 2.5.4-pre1 patch
  2002-02-06 20:59   ` Pierre Rousselet
@ 2002-02-06 21:08     ` Brian Gerst
  2002-02-06 21:13     ` Jeff Garzik
  1 sibling, 0 replies; 9+ messages in thread
From: Brian Gerst @ 2002-02-06 21:08 UTC (permalink / raw)
  To: Pierre Rousselet; +Cc: Jeff Garzik, lkml

Pierre Rousselet wrote:
> 
> Jeff Garzik wrote:
> > Pierre Rousselet wrote:
> >
> >>Patching drivers/char/gameport with /dev/null doesn't work for me. What
> >>is the trick ?
> >>
> >
> > /dev/null indicates a new, or a removed, file.
> 
> 'patch -p0 < patch' is confused by this : "sure you want to delete this
> file ?"
> 
> Are there some arguments to add on the cmd line ?

Use patch -p1.  Also, make sure you are using an up to date version of
patch.

--

				Brian Gerst

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

* Re: Applying 2.5.4-pre1 patch
  2002-02-06 20:59   ` Pierre Rousselet
  2002-02-06 21:08     ` Brian Gerst
@ 2002-02-06 21:13     ` Jeff Garzik
  2002-02-06 21:32       ` Pierre Rousselet
  1 sibling, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2002-02-06 21:13 UTC (permalink / raw)
  To: Pierre Rousselet; +Cc: lkml

Pierre Rousselet wrote:
> 
> Jeff Garzik wrote:
> > Pierre Rousselet wrote:
> >
> >>Patching drivers/char/gameport with /dev/null doesn't work for me. What
> >>is the trick ?
> >>
> >
> > /dev/null indicates a new, or a removed, file.
> 
> 'patch -p0 < patch' is confused by this : "sure you want to delete this
> file ?"

Linus's patches should be applied with -p1.

-- 
Jeff Garzik      | "I went through my candy like hot oatmeal
Building 1024    |  through an internally-buttered weasel."
MandrakeSoft     |             - goats.com

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

* Re: Applying 2.5.4-pre1 patch
  2002-02-06 21:13     ` Jeff Garzik
@ 2002-02-06 21:32       ` Pierre Rousselet
  2002-02-06 21:36         ` Jeff Garzik
  0 siblings, 1 reply; 9+ messages in thread
From: Pierre Rousselet @ 2002-02-06 21:32 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: lkml

Jeff Garzik wrote:
> Pierre Rousselet wrote:
> 
>>Jeff Garzik wrote:
>>
>>>Pierre Rousselet wrote:
>>>
>>>
>>>>Patching drivers/char/gameport with /dev/null doesn't work for me. What
>>>>is the trick ?
>>>>
>>>>
>>>/dev/null indicates a new, or a removed, file.
>>>
>>'patch -p0 < patch' is confused by this : "sure you want to delete this
>>file ?"
>>
> 
> Linus's patches should be applied with -p1.

OK, it works. But you cannot use the patch-file outside of the linux 
directory. It means also the patch-kernel script is dead.

Pierre
-- 
------------------------------------------------
  Pierre Rousselet <pierre.rousselet@wanadoo.fr>
------------------------------------------------


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

* Re: Applying 2.5.4-pre1 patch
  2002-02-06 21:32       ` Pierre Rousselet
@ 2002-02-06 21:36         ` Jeff Garzik
  0 siblings, 0 replies; 9+ messages in thread
From: Jeff Garzik @ 2002-02-06 21:36 UTC (permalink / raw)
  To: Pierre Rousselet; +Cc: lkml

Pierre Rousselet wrote:
> 
> Jeff Garzik wrote:
> > Pierre Rousselet wrote:
> >
> >>Jeff Garzik wrote:
> >>
> >>>Pierre Rousselet wrote:
> >>>
> >>>
> >>>>Patching drivers/char/gameport with /dev/null doesn't work for me. What
> >>>>is the trick ?
> >>>>
> >>>>
> >>>/dev/null indicates a new, or a removed, file.
> >>>
> >>'patch -p0 < patch' is confused by this : "sure you want to delete this
> >>file ?"
> >>
> >
> > Linus's patches should be applied with -p1.
> 
> OK, it works. But you cannot use the patch-file outside of the linux
> directory.

This is normal with everybody else's patches, such as Alan's.  Linus is
just sorta catching up.


> It means also the patch-kernel script is dead.

Did you actually try patch-kernel, from inside the kernel dir?  It
appears to use 'p1' to apply patches.

	Jeff


-- 
Jeff Garzik      | "I went through my candy like hot oatmeal
Building 1024    |  through an internally-buttered weasel."
MandrakeSoft     |             - goats.com

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

end of thread, other threads:[~2002-02-06 21:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-06 11:56 Applying 2.5.4-pre1 patch Pierre Rousselet
2002-02-06 13:17 ` Alessandro Suardi
2002-02-06 16:48   ` Alessandro Suardi
2002-02-06 20:43 ` Jeff Garzik
2002-02-06 20:59   ` Pierre Rousselet
2002-02-06 21:08     ` Brian Gerst
2002-02-06 21:13     ` Jeff Garzik
2002-02-06 21:32       ` Pierre Rousselet
2002-02-06 21:36         ` Jeff Garzik

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