]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Stop including vmlinux.bz2 in the rpm's
authorZack Rusin <zackr@vmware.com>
Thu, 6 Oct 2022 14:33:19 +0000 (10:33 -0400)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 12 Oct 2022 17:10:05 +0000 (02:10 +0900)
commit6a98ae87419ec5fb304c479b3ac82fc8fb534ba6
tree8a509c92c95f372718419ada457cbc0861e97944
parentce3b48604cb4c6079b89da2cc9c7d1583e0eb481
kbuild: Stop including vmlinux.bz2 in the rpm's

vmlinux.bz2 was added to the rpm packages in 2009 in the
de8e77054529 ("kbuild: add vmlinux to kernel rpm") but seemingly hasn't
been used since.

Originally this should have been split up in a seperate debugging
package because it massively increases the size of the generated rpm's
e.g. kernel rpm built using binrpm-pkg on Fedora 36 default 5.19.8 kernel
config and localmodconfig is ~255MB with vmlinux.bz2 and only ~65MB
without it.

Make the kernel built rpms about 4x smaller by not including the unused
vmlinux.bz2 in them.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/package/mkspec