Bug 8006 - No kernel image in boot directory for edgerouter rootfs
Summary: No kernel image in boot directory for edgerouter rootfs
Status: VERIFIED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-yocto (show other bugs)
Version: 1.9
Hardware: EdgeRouter mips64
: Medium normal
Target Milestone: 1.9
Assignee: Kevin Hao
QA Contact: Yi Zhao
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-07-15 08:01 UTC by Yi Zhao
Modified: 2015-09-21 08:36 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2015-07-15 08:01:34 UTC
Image location: http://autobuilder.yoctoproject.org/pub/releases/yocto-yocto-1.9_M1.rc2/machines/edgerouter/

Git rev: master/f9ea480e6c26fea46c3011c4e9d0e2de3d5c81b4

There is no kernel image in boot directory for edgerouter rootfs

###########################
$ sudo tar xjf core-image-sato-sdk-edgerouter-20150710121422.rootfs.tar.bz2 -C rootfs
$ cd rootfs/boot/
$ ls -l
total 0
lrwxrwxrwx 1 root root 35 Jul 10 20:58 vmlinux -> /boot/vmlinux-3.19.5-yocto-standard
$
###########################

There is only an empty symbolic link, no kernel image. This issue doesn't exist in MPC8315e and beaglebone.
Comment 1 Richard Purdie 2015-07-16 15:00:51 UTC
The kernel is likely stored elsewhere so we perhaps just need to clean up the symlink?
Comment 2 Yi Zhao 2015-07-17 03:03:24 UTC
(In reply to comment #1)
> The kernel is likely stored elsewhere so we perhaps just need to clean up
> the symlink?

It's better to put the real kernel image in the directory and keep the symlink like other BSPs' rootfs:

MPC8315:
$ ls -l boot/
total 5212
lrwxrwxrwx 1 root root      34 Jul 10 19:25 uImage -> /boot/uImage-3.19.5-yocto-standard
-rw-r--r-- 1 root root 5335431 Jul 10 08:57 uImage-3.19.5-yocto-standard
Comment 3 Kevin Hao 2015-09-15 03:27:29 UTC
Fix by commit a346a3cd5273 ("kernel.bbclass: add the runtime dependency on kernel-vmlinux for kernel-image")
Comment 4 Ke Zou 2015-09-21 08:36:27 UTC
verified with build 1.9 M3 rc1