Bug 11409

Summary: runqemu-extract-sdk doesn't work in toolchain for 2.3 rc2 build
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Yi Zhao <yi.zhao>
Component: Scripts and ToolsAssignee: Robert Yang <liezhi.yang>
Status: VERIFIED FIXED QA Contact: Yi Zhao <yi.zhao>
Severity: major    
Priority: Medium+ CC: eduard.bartosh, richard.purdie, ross.burton, yi.zhao
Version: 2.3   
Target Milestone: 2.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Yi Zhao 2017-04-25 02:59:49 UTC
Toolchain location: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3_M3.rc2/toolchain
Git rev: master/7a0e795373653886452a7a2992ced10080711c26

Steps:
1. Download toolchain from above link and install it.

2. Set the environment:
   $ . /opt/poky/2.3/environment-setup-core2-64-poky-linux

3. $ runqemu-extract-sdk core-image-sato-sdk-qemuppc.tar.bz2  rootfs

Error message:
###########################
Error: Unable to locate bitbake command.
Did you forget to source the build environment setup script?
###########################


This used to work in 2.3 M3 build
Comment 1 brian avery 2017-04-27 16:37:28 UTC
Patch from Robert: https://patchwork.openembedded.org/series/6495/ worked for me in the sdk,esdk, and bitbake std build.
Comment 3 Yi Zhao 2017-05-04 04:09:45 UTC
Verified with 2.3 rc4 build.
Git rev: pyro/381897c64069ea43d595380a3ae913bcc79cf7e1