Bug 4939 - Cannot start qemu image in environment created by buildtools-tarball.
Summary: Cannot start qemu image in environment created by buildtools-tarball.
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5 M4
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-07-29 03:06 UTC by Chen Qi
Modified: 2013-08-19 02:11 UTC (History)
6 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 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