[vox-tech] I got 2.6 working!

Ken Bloom vox-tech@lists.lugod.org
Thu, 5 Feb 2004 11:38:54 -0800


--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 04, 2004 at 11:47:28PM -0800, Ken Bloom wrote:
> On Wed, Feb 04, 2004 at 09:46:19PM -0800, Ted Deppner wrote:
> > On Wed, Feb 04, 2004 at 12:15:02PM -0800, Ken Bloom wrote:
> > > 2) Incremental Rebuilts (in Debian)
> > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> > > I figured out how to do this, and I do it by removing most of the =20
> > > process from make-kpkg's control.
> > > in /etc/kernel-pkg.conf, I have the line
> > > do_clean :=3Dno
> >=20
> > 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.
>=20
> Is this a rule that applies to woody (I noticed your comment further
> down)? I use sid, and it seems to work for me. (It didn't try to clean
> up after it finished compiling)
>=20
> > 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.
> >=20
> > > make-kpkg --append-to-version=3D-1ken --revision=3D1 make_kpkg
> > > I don't know how well this works for upgrades between versions (like =
=20
> > > upgrading from 2.6.1 to 2.6.2) or how well it works if you change the=
 =20
> > > EXTRAVERSION, but this is a good start.
> >=20
> > 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.
> >=20
> > 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).
> >=20
> > > make-kpkg isn't smart enough to do an incremental build by itself, it=
 =20
> > > appears.
> >=20
> > It is, but not out of the box in Woody.
>=20
> On sid, I was getting errors about version numbers in various places.
> Do I perhaps need to edit the version number in all of the files in
> debian/ to make it work?
>=20

Having forgotten some stuff for DMA, I just recompiled *again*, and I
will say with confidence that the way to recompile only those things
that have changed is:

rm -rf stamp-* debian/
make-kpkg ...=20

and make-kpkg you can use whatever options you want, you can even
change the --append-to-version, the --revision, or even have patched
up to the next verison of the kernel.


--=20
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.
My key was last signed 10/14/2003. If you use GPG *please* see me about=20
signing the key. ***** My computer can't give you viruses by email. ***

--IS0zKkzwUGydFO0o
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAIpvOlHapveKyytERAi5JAJ9j2PBuN3J5gEcc7hsFuLeZoHUZVACdE5J5
TVYA1BEjyTCMCCu3JMaOZGU=
=GoCV
-----END PGP SIGNATURE-----

--IS0zKkzwUGydFO0o--