LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Applying a debian patch to a "pure" kernel (https://www.linuxquestions.org/questions/debian-26/applying-a-debian-patch-to-a-pure-kernel-375748/)

gerald45 10-22-2005 09:09 AM

Applying a debian patch to a "pure" kernel
 
Hi, sorry about posting a second kernel question in a few days. I am trying to apply a debian patch to one of the pure kernels from kernel.org. Specifically the 2.6.13 kernel, i have downloaded the kernel-patch-debian-2.6.13 package under the impression that although it was not the kernel source in the main debian distribution, the package would attempt to patch the kernel anyway. So i used make-kpkg with --added-patches debian and i recieved the message:

No version.Debian file, assuming pristine Linux
Can't patch to nonexistant revision (wait until 2006)

Did a bit of looking around and found that older patches used to have a go anyway and do the best they could. I was hoping someone here know how to force this behaviour in the newer patches or knows of an alternative way to make this happen.

Thanks for your time.

/bin/bash 10-23-2005 04:57 AM

What patch are you wanting to apply? After installing the kernel-patch-debian-2.6.13 package you should have a directory /usr/src/kernel-patches which contains all the patches. You can manually apply any of the patches you want like this:
cd /usr/src/linux
bzip2 -dc ../kernel-patches/path/to/patch/kernel-patch.tar.bz2 | patch -p1

gerald45 10-23-2005 09:05 AM

Thanks didnt know the packages came with the bz2 files, kept trying to use the scripts.


All times are GMT -5. The time now is 10:47 AM.