Bug 2789

Summary: Running image fails - after image is ready
Product: [Build System, Metadata & Runtime] Hob Reporter: Laurentiu Serban <laurentiu.serban>
Component: image creatorAssignee: Cristian Iorga <cristian.iorga>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: andreea.b.proca, jessica.zhang, poky.bs.watcher, poky.watcher, sgw, song.liu
Version: 1.3   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
hob screenshot none

Description Laurentiu Serban 2012-07-18 11:39:48 UTC
Created attachment 639 [details]
hob screenshot

Running image fails after the image is ready:
This might be due to the '+' character in the kernel file name.
 zImage-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+9aca8fec49787efbe44d0f137f31ee59edd94c49-r4.0-qemuarm-20120718091454.bin
Comment 1 Laurentiu Serban 2012-07-18 11:43:02 UTC
This is occurring on Fedora 17
Comment 2 Saul Wold 2012-08-09 07:28:51 UTC
Can you test this with the runqemu script directly?  Instead of using hob, you should be able to use the images generated from hod directly with runqemu
Comment 3 Laurentiu Serban 2012-08-22 22:12:46 UTC
Hello Saul,
I am getting the message below when trying to run the image built by hob on fedora 17 in qemu

[lserban@localhost build]$ runqemu tmp/deploy/images/bzImage-qemux86.bin tmp/deploy/images/core-image-minimal-qemux86-20120822215952.rootfs.ext3 nographic
Set MACHINE to [qemux86] based on kernel [tmp/deploy/images/bzImage-qemux86.bin]

Continuing with the following parameters:
KERNEL: [tmp/deploy/images/bzImage-qemux86.bin]
ROOTFS: [tmp/deploy/images/core-image-minimal-qemux86-20120822215952.rootfs.ext3]
FSTYPE: [ext3]
Error: this script needs to be run from your build directory,
or you need to explicitly set OE_TMPDIR in your environment
Comment 4 Laurentiu Serban 2012-08-22 22:19:44 UTC
An additional comment:
The previous error occurs ONLY when HOB is started.
If HOB is stopped the build can be started
Comment 5 Laurentiu Serban 2012-08-22 22:20:07 UTC
I mean the built image can be started
Comment 6 Andreea Brandusa Proca 2012-09-13 07:53:06 UTC
Works on Ubuntu 12.04.
Verified in commit: dd3edc9fbb674682947e8218202fdbeef8635dd5.
Comment 7 Laurentiu Serban 2012-09-17 20:19:25 UTC
setting it to verified