Re: what's the name of kernel made by make-kpkg?
On Sun, Oct 14, 2001 at 10:28:36PM -0400, Jason Boxman wrote:
| On Sunday 14 October 2001 10:12 pm, Yuwen Dai wrote:
| > Hi, All
| >
| > The version of my kernel source is 2.2.19. I want to make a custom kernel
| > by the command:
| >
| > make-kpkg --reversion custom.1 kernel_image
| >
| > I expect there will be a kernel named vmlinuz-2.2.19-custom.1 in the
| > `/boot' directory. But its name is still vmlinuz-2.2.19. Do I
| > misunderstand make-kpkg?
|
| I think you did. --revision only plays with the name of the package itself.
...
| You might be looking for the --append-to-version flag, which actually fudges
| the version.h file of the kernel. Check the make-kpkg manual for details.
In addition, make-kpkg only creates a package, it doesn't install it.
For me, I used :
$ fakeroot make-kpkg --config=xconfig
--append-to-version=-local.1.3 --revision=local.1.3 --initrd
kernel_image kernel_doc kernel_headers
and got
/usr/src/kernel-image-2.4.10-local.1.3_local.1.3_i386.deb
which I then had to run 'dpkg -i' on as root.
HTH,
-D
Reply to: