[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: patching kernel versions



Quoting ktb (ktb@nixnotes.org):
> 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:  d.wright@open.ac.uk   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.



Reply to: