LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-22-2005, 09:09 AM   #1
gerald45
LQ Newbie
 
Registered: Sep 2005
Distribution: Debian
Posts: 22

Rep: Reputation: 15
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.
 
Old 10-23-2005, 04:57 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
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
 
Old 10-23-2005, 09:05 AM   #3
gerald45
LQ Newbie
 
Registered: Sep 2005
Distribution: Debian
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks didnt know the packages came with the bz2 files, kept trying to use the scripts.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
difference between "pure" kernel source, and .deb packaged kernel source microsoft/linux Debian 1 06-19-2005 10:28 PM
Kernel question: difference between Patch and "regular" kernel source kopikat Linux - Software 1 01-26-2005 05:24 PM
Help please! applying FreeBsd patches for "programe name" failed. Devboy *BSD 2 08-12-2004 05:16 PM
patching kernel "must" be patch from x.x.xx - 1 ? sirpelidor Linux - Newbie 2 02-03-2004 03:51 PM
applying patch "4.3.0 to 4.3.1" hydro Linux - Software 3 02-18-2003 07:03 PM


All times are GMT -5. The time now is 12:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration