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

Re: kernel-image 2.2.15



"Eric G . Miller" wrote:
> 
> On Tue, Jun 06, 2000 at 03:21:38PM +0200, Martijn Meijers wrote:
> > Hi,
> >
> > On my machine running Debian Woody I've downloaded kernel-source 2.2.15
> > and compiled my own kernel using make-kpkg. That worked fine.
> >
> > But when I run 'apt-get upgrade' now, it's automatically downloading
> > kernel-image-2.2.15-2.2.15-1.deb. And that's not what I want. Just want to
> > use my own kernel-image, otherwise my network- and soundcard won't work.
> >
> > Maybe someone has got an idea to fix this?
> 
> The trick seems to be using "epochs" with the --revision flag.
> 
> $ fakeroot make-kpkg --revision=2:monstermachine.1.0 kernel_image
>                                 ^^
>                                   \ Epoch
> 
I've always just done something like: 

--revision=M1 (M2, M3, etc., as I go along)

knowing that those will always supersede any digits that the normal
distro uses.

If you use the epoch, like:

--revision=2:1 (epoch 2, revision 1)

would you automatically get revision 2 when it appears on the Debian
site and you do the upgrade?  (None of this seems to be documented in
man make-kpkg).

Or do I have it *totally* wrong?



Reply to: