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
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.
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
This bug is fixed and verified