patching a Debian kernel



Hi,

I am trying to use Debian's 2.6.20.7 patches on a kernel that I have gotten myself from www.kernel.org.

Rationale: I already have the kernel source on a disk and I am on a lowbandwith dialup modem so I don't want to get the entire source package, just the patches...

Googling around, I find contradictory directions. But I tried:

1. Unpack the source
2. Get http://ftp.debian.org/debian/pool/main/l/linux-2.6/linux-2.6_2.6.20-3.diff.gz = the patches.
3. cd to the source dir
4. zcat <dir>linux-2.6_2.6.20-3.diff.gz| patch -p1
(debian/patches is added to the source dir containing the patches)
5. export PATCH_THE_KERNEL=YES
6. make menconfig to get rid of PARA_VIRT=YES parameter
7. make-kpkg --initrd kernel_image


But it does not work! The patches are not added...

Anybody? What do I do wrong?

Hugo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • [PATCH] Fix Documentation/SubmittingPatches to use -p
    ... Patches are a damned sight easier to read if people use the '-p' ... This patch simply adds that to the documentation ... +change is in - that makes the resultant diff a lot easier to read. ... +Patches should be based in the root kernel source directory, ...
    (Linux-Kernel)
  • Re: [PATCH] binutils-2.16 & kernel-2.6.11.10
    ... >> why is this not in the kernel source yet? ... > I'd also like to know the status of these patches; ... > implied Linux build problems. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Multiple installed kernel-image packages?
    ... I don't know what kernel-latest-2.6-i386 is (maybe patches?) but it is ... definitely too small to be the full kernel source. ... GNU/Linux --- The best things in life are free. ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
    (Debian-User)
  • Re: Delphi
    ... Peter Morris [Droopy eyes software] wrote: ... Many commercial linux distributions apply patches to the Kernel source and also other software before compiling them. ...
    (borland.public.delphi.non-technical)
  • Re: question about kernel source packages
    ... Has the kernel source already been patched or would one need to patch it with all of the included debian patches when building a custom kernel? ... Read the files README.Debian and Debian.src.changelog in the kernel source directory. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)