]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: add the runtime dependency on kernel-vmlinux for kernel-image
authorKevin Hao <kexin.hao@windriver.com>
Tue, 25 Aug 2015 10:36:07 +0000 (18:36 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Sep 2015 22:46:08 +0000 (23:46 +0100)
commitbd8b9bc716774a8f8b4b97ece5c7b2eb58aa2330
tree30aa3d861ab29e4069f84846f6d1ea83fedf0501
parent4edaa7498f98977e60381bd9e5f8778abfb9fe30
kernel.bbclass: add the runtime dependency on kernel-vmlinux for kernel-image

When a BSP uses vmlinux for boot, the kernel-image package is just
empty. But by default the kernel-vmlinux is not installed. Then the
pkg_postinst_kernel-image() would create a symlink to a non-existent
file. Fix this by adding the runtime dependency on kernel-vmlinux for
kernel-image if the KERNEL_IMAGETYPE is "vmlinux".

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass