feat(eclass/cros-kernel2.eclass) provide stable symlink for cros-bootkernel

This commit is contained in:
Greg Kroah-Hartman 2013-07-17 18:22:06 -07:00
parent 02554d0e5b
commit 634b611bb2

View File

@ -464,6 +464,8 @@ cros-kernel2_src_install() {
if [ ! -e "${D}/boot/vmlinuz" ]; then if [ ! -e "${D}/boot/vmlinuz" ]; then
if [ "$(get_boot_kernel)" = "false" ]; then if [ "$(get_boot_kernel)" = "false" ]; then
ln -sf "vmlinuz-${version}" "${D}/boot/vmlinuz" || die ln -sf "vmlinuz-${version}" "${D}/boot/vmlinuz" || die
else
ln -sf "vmlinuz-${version}" "${D}/boot/vmlinuz-boot_kernel" || die
fi fi
fi fi