From 634b611bb212067b8b7fc90b88a3d75da25fca6d Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 17 Jul 2013 18:22:06 -0700 Subject: [PATCH] feat(eclass/cros-kernel2.eclass) provide stable symlink for cros-bootkernel --- .../src/third_party/coreos-overlay/eclass/cros-kernel2.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass b/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass index 117a018a72..e2f164d2cf 100644 --- a/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass +++ b/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass @@ -464,6 +464,8 @@ cros-kernel2_src_install() { if [ ! -e "${D}/boot/vmlinuz" ]; then if [ "$(get_boot_kernel)" = "false" ]; then ln -sf "vmlinuz-${version}" "${D}/boot/vmlinuz" || die + else + ln -sf "vmlinuz-${version}" "${D}/boot/vmlinuz-boot_kernel" || die fi fi