[Kernel-handbook-general] Bug#627960: [PATCH v2] Add a quick tutorial about bisecting
Ben Hutchings
ben at decadent.org.uk
Mon Jun 6 08:49:52 UTC 2011
On Sun, 2011-06-05 at 21:23 -0500, Jonathan Nieder wrote:
[...]
> + <p>
> + To start, recreate the problem with a vanilla kernel:
> + <example>
> +# apt-get install git build-essential
> +$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> +$ cd linux-2.6
> +$ make localmodconfig; # minimal configuration
> + </example>
> + The above commands acquire and configure a vanilla kernel.
> + Build and test a binary package as explained in
> + <ref id="common-building">:
> + <example>
> +$ make KDEB_PKGVERSION=bisecting.1.0 deb-pkg
[...]
This is not a valid Debian package version, and dpkg-deb will reject it.
But dpkg-deb will print the generated package names at the end of the
'make deb-pkg' output, e.g.:
dpkg-deb: building package `linux-headers-3.0.0-rc1+' in `../linux-headers-3.0.0-rc1+_3.0.0-rc1+-1_amd64.deb'.
dpkg-deb: building package `linux-libc-dev' in `../linux-libc-dev_3.0.0-rc1+-1_amd64.deb'.
dpkg-deb: building package `linux-image-3.0.0-rc1+' in `../linux-image-3.0.0-rc1+_3.0.0-rc1+-1_amd64.deb'.
So you can say 'install the package(s) that this generates'. And note
that the version is incremented each time.
Ben.
--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/kernel-handbook-general/attachments/20110606/071e1a4c/attachment.pgp>
More information about the Kernel-handbook-general
mailing list