Bug 4939

Summary: Cannot start qemu image in environment created by buildtools-tarball.
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Chen Qi <Qi.Chen>
Component: coreAssignee: Chen Qi <Qi.Chen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: liezhi.yang, mark.hatle, meta.mr.watcher, meta.watcher, sgw, yi.zhao
Version: 1.4   
Target Milestone: 1.5 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Chen Qi 2013-07-29 03:06:26 UTC
Steps:
1) Installing the buildtools-tarball
2) Set up the environment by sourcing the environmen-setup-xxx script
3) Build a minimal image for qemux86
4) runqemu qemux86

Error: tunctl binary not found

The root cause is that OECORE_NATIVE_SYSROOT variable is set and exported by the environment-setup-xxx script, but the buildtools-tarball is inherently a tool set instead of a fully funtional SDK. Setting the OECORE_NATIVE_SYSROOT will mess things up.

//Chen Qi
Comment 1 Chen Qi 2013-08-19 02:11:06 UTC
merged into poky/master: 2fd2c606f6747145c4923a59ad9aa2b1d63d910f

URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d4a4c764a844a7e61f866af9361f139684037336