l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Feb 05 09:14

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] I got 2.6 working!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] I got 2.6 working!

On Wed, Feb 04, 2004 at 12:15:02PM -0800, Ken Bloom wrote:
> 2) Incremental Rebuilts (in Debian)
> ===================================================
> I figured out how to do this, and I do it by removing most of the  
> process from make-kpkg's control.
> in /etc/kernel-pkg.conf, I have the line
> do_clean :=no

do_clean isn't honored because the debian/rules file overrides it.
Second, the rules file actually references a stock version of itself in
/usr/lib (I think) that again overrides the setting.

If you edit the debian/rules file to use itself instead of the lib
version, the local do_clean setting will be honored.  I monkeyed with
this for quite a bit the first time through.

> make-kpkg --append-to-version=-1ken --revision=1 make_kpkg
> I don't know how well this works for upgrades between versions (like  
> upgrading from 2.6.1 to 2.6.2) or how well it works if you change the  
> EXTRAVERSION, but this is a good start.

Can't jump kernel versions without editing a few files in debian/ (it'll
complain on build), don't recall precisely which, but it was only a few.
It's usually easier just to start from scratch, rerun make-kpkg, copy in
your .config and make oldconfig.

Remember the kernel version is part of the package name, so 2.6.1 is one
package, and 2.6.2 is a totally different package.  Both can be
installed simultaneously.  (same with your --append-to-version names).

> make-kpkg isn't smart enough to do an incremental build by itself, it  
> appears.

It is, but not out of the box in Woody.

Ted Deppner

Attachment: pgp00004.pgp
Description: PGP signature

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.