patching kernel versions

2001-04-25 Thread Robert Epprecht
I have a potato system, upgraded to r3, but not yet replaced the kernel.
I'd like to compile a 2.2.19 kernel. Being on a slow modem connection
I don't want to download the whole source but got patch-2.2.18.bz2 and
patch-2.2.19.bz2.  I'm not clear how to apply this patches without
messing up with the apt-get database.  How do I proceed?

Thanks for your time,  Robert Epprecht.



Re: patching kernel versions

2001-04-25 Thread ktb
On Wed, Apr 25, 2001 at 09:18:39AM +0200, Robert Epprecht wrote:
 I have a potato system, upgraded to r3, but not yet replaced the kernel.
 I'd like to compile a 2.2.19 kernel. Being on a slow modem connection
 I don't want to download the whole source but got patch-2.2.18.bz2 and
 patch-2.2.19.bz2.  I'm not clear how to apply this patches without
 messing up with the apt-get database.  How do I proceed?
 
 Thanks for your time,  Robert Epprecht.

Unless you have the source for 2.2.18 which I'm guessing is the kernel
you are using now your going to have to download the source.  You don't
have to worry about the apt-get database in this instance.  At least I
don't. 
kent

-- 
 From seeing and seeing the seeing has become so exhausted
 First line of The Panther - R. M. Rilke




Re: patching kernel versions

2001-04-25 Thread David Wright
Quoting ktb ([EMAIL PROTECTED]):
 On Wed, Apr 25, 2001 at 09:18:39AM +0200, Robert Epprecht wrote:
  I have a potato system, upgraded to r3, but not yet replaced the kernel.
  I'd like to compile a 2.2.19 kernel. Being on a slow modem connection
  I don't want to download the whole source but got patch-2.2.18.bz2 and
  patch-2.2.19.bz2.  I'm not clear how to apply this patches without
  messing up with the apt-get database.  How do I proceed?

 Unless you have the source for 2.2.18 which I'm guessing is the kernel
 you are using now your going to have to download the source.  You don't
 have to worry about the apt-get database in this instance.  At least I
 don't. 

That's right. The apt/dpkg databases concern themselves only with:
installed kernel-source packages which are zipped tarballs,
installed kernel-image packages that you downloaded, or built using
kernel-package.

Whether and where you unpack the tarballs, patch them, build them,
etc. is up to you, does not have to be done as root (use fakeroot),
and does not trouble apt one whit.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Re: patching kernel versions

2001-04-25 Thread Robert Epprecht
David Wright [EMAIL PROTECTED] writes:

 Quoting ktb ([EMAIL PROTECTED]):
  On Wed, Apr 25, 2001 at 09:18:39AM +0200, Robert Epprecht wrote:
   I have a potato system, upgraded to r3, but not yet replaced the kernel.
   I'd like to compile a 2.2.19 kernel. Being on a slow modem connection
   I don't want to download the whole source but got patch-2.2.18.bz2 and
   patch-2.2.19.bz2.

  Unless you have the source ...

I do have the source, yes. (2.2.17)

   You don't have to worry about the apt-get database in this instance.
   At least I don't. 
 
 That's right. The apt/dpkg databases concern themselves only with:
 installed kernel-source packages which are zipped tarballs, ...

 Whether and where you unpack the tarballs, patch them, build them,
 etc. is up to you, ...

I see. (I thought apt-get could get angry at me,
if I patch the source tree behind it's back...)

Thanks to all who helped me,  Robert Epprecht.