Bug 278 - POKY_NATIVE_SYSROOT error for sdk tarball
Summary: POKY_NATIVE_SYSROOT error for sdk tarball
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Medium major
Target Milestone: 0.9 M4
Assignee: Joshua Lock - Disabled
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-09-06 18:32 UTC by liping Ke
Modified: 2010-12-21 06:09 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liping Ke 2010-09-06 18:32:02 UTC
Saul, please help to assign this bug to Josh, I input josh's mail addr, but the bugzilla can't find him:) Thanks!

Hi, Josh
After I extract sdk toolchain tarball to /opt/poky, I found the environement-setup-XXX script contains POKY_NATIVE_SYSROOT="poky_tree/build_x86/tmp/sysroots/i686-linux", same as the one under the build_x86/tmp/environment-setupXXX script.
I guess it should be /opt/poky/sysroot/i586-pokysdk-linux instead? 

I modified manually, now poky-extract-sdk <poky-sdk-tarball> <extract-dir> could be run successfully. Otherwise, it will say can't find sysroot.

Thanks& Regards,
criping
Comment 1 Joshua Lock - Disabled 2010-09-07 03:23:43 UTC
Hi Criping,

Good catch - thanks!

I've fixed this in my branch josh/master and will mark this bug as fixed when the changes are merged.
Comment 2 Joshua Lock - Disabled 2010-09-07 04:03:41 UTC
Fixed with the merge of the branch into master:

c97f3a5df4f498ec663d0bde88ed2652dd4db181: toolchain-scripts: export extra variables for use by scripts

9b800fe261650e4300795ce9762422d93cd31251: scripts: use the exported POKY_NATIVE_SYSROOT variable
Comment 3 liping Ke 2010-09-13 02:11:49 UTC
This bug is fixed and verified