mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Patching 2.5.xx
@ 2002-11-20 17:03 Rus Foster
  2002-11-20 17:08 ` Adrian Bunk
  2002-11-20 17:10 ` Lucio Maciel
  0 siblings, 2 replies; 4+ messages in thread
From: Rus Foster @ 2002-11-20 17:03 UTC (permalink / raw)
  To: linux-kernel

Hi All,
I've decided to start trying out the 2.5 kernels and I've got the 2.5.47
tarball and the 2.5.48 patch. However looking at the diff file its trying
to create an a and b directory. Is there a special significance for this
and how do I go about applying the patch?

Rgds

Rus Foster


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

* Re: Patching 2.5.xx
  2002-11-20 17:03 Patching 2.5.xx Rus Foster
@ 2002-11-20 17:08 ` Adrian Bunk
  2002-11-20 17:10 ` Lucio Maciel
  1 sibling, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2002-11-20 17:08 UTC (permalink / raw)
  To: Rus Foster; +Cc: linux-kernel

On Wed, Nov 20, 2002 at 05:03:30PM +0000, Rus Foster wrote:

> Hi All,

Hi Rus,

> I've decided to start trying out the 2.5 kernels and I've got the 2.5.47
> tarball and the 2.5.48 patch. However looking at the diff file its trying
> to create an a and b directory. Is there a special significance for this
> and how do I go about applying the patch?

  cd linux-2.5.47
  zcat ../patch-2.5.48.gz | patch -p1

> Rgds
> 
> Rus Foster

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

* Re: Patching 2.5.xx
  2002-11-20 17:03 Patching 2.5.xx Rus Foster
  2002-11-20 17:08 ` Adrian Bunk
@ 2002-11-20 17:10 ` Lucio Maciel
  1 sibling, 0 replies; 4+ messages in thread
From: Lucio Maciel @ 2002-11-20 17:10 UTC (permalink / raw)
  To: Rus Foster; +Cc: linux-kernel


just go into your kernel source dir and patch -p1

bash-2.05a$ cd linux
bash-2.05a$ zcat ../patch-2.5.48.gz |patch -p1

On Wed, 20 Nov 2002 17:03:30 +0000 (GMT)
Rus Foster <rghf@fsck.me.uk> wrote:

> Hi All,
> I've decided to start trying out the 2.5 kernels and I've got the 2.5.47
> tarball and the 2.5.48 patch. However looking at the diff file its trying
> to create an a and b directory. Is there a special significance for this
> and how do I go about applying the patch?
> 
> Rgds
> 
> Rus Foster
> 
> -
> 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/
> 


-- 
::: Lucio F. Maciel
::: abslucio@terra.com.br
::: icq 93065464
::: Absoluta.net

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

* RE: Patching 2.5.xx
@ 2002-11-20 17:12 Holzrichter, Bruce
  0 siblings, 0 replies; 4+ messages in thread
From: Holzrichter, Bruce @ 2002-11-20 17:12 UTC (permalink / raw)
  To: 'Rus Foster', linux-kernel

> 
> Hi All,
> I've decided to start trying out the 2.5 kernels and I've got 
> the 2.5.47
> tarball and the 2.5.48 patch. However looking at the diff 
> file its trying
> to create an a and b directory. Is there a special 
> significance for this
> and how do I go about applying the patch?
> 

`man patch` would be your friend here:

       -pnum  or  --strip=num
          Strip the smallest prefix containing num leading  slashes  from
each  file  name
          found  in  the patch file.  A sequence of one or more adjacent
slashes is counted
          as a single slash.  This controls how file names found  in  the
patch  file  are
          treated, in case you keep your files in a different directory than
the person who
          sent out the patch.  For example, supposing the file name in the
patch file was

             /u/howard/src/blurfl/blurfl.c

          setting -p0 gives the entire file name unmodified, -p1 gives

             u/howard/src/blurfl/blurfl.c

          without the leading slash, -p4 gives

             blurfl/blurfl.c

          and not specifying -p at all just gives you blurfl.c.  Whatever
you end  up  with
          is  looked for either in the current directory, or the directory
specified by the
          -d option.

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

end of thread, other threads:[~2002-11-20 17:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-20 17:03 Patching 2.5.xx Rus Foster
2002-11-20 17:08 ` Adrian Bunk
2002-11-20 17:10 ` Lucio Maciel
2002-11-20 17:12 Holzrichter, Bruce

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®