Bug 278

Summary: POKY_NATIVE_SYSROOT error for sdk tarball
Product: [Build System, Metadata & Runtime] OE-Core Reporter: liping Ke <liping.ke>
Component: devtools / tool chainAssignee: Joshua Lock - Disabled <josh>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: Medium CC: jessica.zhang, kevin.tian, meta.mr.watcher, meta.watcher, scott.a.garman, sgw
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

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