Bug 11523 - qemuboot.conf files in the downloads.../machines/qemu/qemu<machine> should be scrubbed of ab paths
Summary: qemuboot.conf files in the downloads.../machines/qemu/qemu<machine> should be...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 2.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.4 M2
Assignee: brian avery
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-05-18 00:37 UTC by brian avery
Modified: 2017-07-13 08:49 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
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 brian avery 2017-05-18 00:37:01 UTC
The <image>.qemuboot.conf has variables that point to the yocto-autobuilder paths of the image, deploy directory, etc.  Since these conf files are in the downloads dir, we should scrub them of the autobuilder specific language so that it is obvious they should be used with the downloadable images and kernels.

Why this matters: 
The qemuboot.conf for mips64-sato allows it to boot in qemu and have X work. Without the qemuboot.conf, you get a kernel panic from the wrong machine memory. If you force the correct memory size, you still get a blank X11 screen... 

If someone naively looks at the conf file, they are unlikely to use it for the downloaded images due to the many autobuilder paths in it.
Comment 1 Robert Yang 2017-07-13 08:49:08 UTC
You've fixed it:

commit b2b422c190af482a0b4b7291545aa3239c15a1e8
Author: brian avery <brian.avery@intel.com>
Date:   Wed Apr 19 12:49:04 2017 -0700

    qemuboot.bbclass: save relative paths in conf file
    
    This saves relative paths in the qemuboot.conf file instead of absolute
    paths. This is to allow the images and kernels to be relocated and still
    have the testimage and runqemu work.
    
    [YOCTO #11375]
    
    (From OE-Core rev: 235243d7be5df57df4767e4710b846e83f0aa9fd)
    
    Signed-off-by: brian avery <brian.avery@intel.com>
    Signed-off-by: Ross Burton <ross.burton@intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>