kbuild: add vmlinux to kernel rpm
commitfc370ecfdb37b853bd8e2118c7ad9f99fa9ac5cd
authorJosh Hunt <josh@scalex86.org>
Thu, 12 Feb 2009 05:10:57 +0000 (11 21:10 -0800)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 15 Feb 2009 11:50:08 +0000 (15 12:50 +0100)
treeaa4e98a688c0db69bbf082c41aa29b5e916f41e9
parentd21d52d4a155e36d4dc93d642cd52cb63f7ef91b
kbuild: add vmlinux to kernel rpm

We are building an automated system to test kernels weekly and need to
provide an rpm to our QA dept.  We would like to use the ability to create
kernel rpms already in the kernel's Makefile, but need the vmlinux file
included in the rpm for later debugging.

This patch adds a compressed vmlinux to the kernel rpm when doing a
make rpm-pkg or binrpm-pkg and upon install places the vmlinux file in /boot.

Signed-off-by: Josh Hunt <josh@scalex86.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/package/mkspec