Bug 5806

Summary: ADT installer failed in x86_64 arch with nightly build 20140205-1 due to x86_64 file name change
Product: [Yocto Project Subprojects] ADT Reporter: Ke Zou <ke.zou>
Component: adtAssignee: Laurentiu Palcu <laurentiu.palcu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: poky.adt.watcher, poky.watcher, yi.zhao
Version: 1.6   
Target Milestone: 1.6 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ke Zou 2014-02-10 02:50:43 UTC
ADT installer location:

http://autobuilder.yoctoproject.org/pub/nightly/20140205-1/adt-installer-QA/

For x86-64, since env file under default install directory(/opt/poky/1.5.../)
has been renamed to environment-setup-core2_64-poky-linux, 
which means bug in scripts/adt_installer_internal  line 266-270:

echo_info "Updating environment script with target sysroot location."
if [ "$1" == "x86"  ]; then
  env_filename=`ls $INSTALL_FOLDER/environment-setup-i586*`
else
  env_filename=`ls $INSTALL_FOLDER/environment-setup-$1*`
fi