Bug 5727 - ADT install error when having more SYSROOT targets specified than YOCTOADT_TARGETS
Summary: ADT install error when having more SYSROOT targets specified than YOCTOADT_TA...
Status: VERIFIED FIXED
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-01-16 08:27 UTC by Alexandru Georgescu
Modified: 2014-02-10 11:44 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
adt_installer.conf (3.89 KB, application/octet-stream)
2014-01-16 08:28 UTC, Alexandru Georgescu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Georgescu 2014-01-16 08:27:53 UTC
adt_installer: http://autobuilder.yoctoproject.org/pub/releases/1.6_M2.rc1/adt-installer-QA/
poky: e4c23f7bcb79072ea6028fbdf8f3f0dc17a63371
HOST: Ubuntu 13.10


STEPS TO REPRODUCE
1. Download and extract ADT
2. Open the adt_installer.conf file. Modify YOCTOADT_TARGETS to: "x86"
3. Leave the YOCTOADT_ROOTFS_arm, YOCTOADT_TARGET_SYSROOT_IMAGE_arm, YOCTOADT_TARGET_MACHINE_arm, YOCTOADT_TARGET_SYSROOT_LOC_arm, YOCTOADT_ROOTFS_x86, YOCTOADT_TARGET_SYSROOT_IMAGE_x86, YOCTOADT_TARGET_MACHINE_x86, YOCTOADT_TARGET_SYSROOT_LOC_x86 variables set as they were before. (attached, the conf file)

4. Proceed with ADT installation


EXPECTED RESULTS:
4. Only ADT for arm is installed.


ACTUAL RESULTS:
4. ADT tries to install the ARM toolchain as well, but since "arm" is not added to YOCTOADT_TARGETS, the environment script for arm is not found therefore the below error appears. ADT should install only the tooclhain/sysroots that are mentioned in the YOCTOADT_TARGETS variable.

Target sysroot location: /home/ubu/test-yocto/qemuarm, already exists! If you continue installation, this folder will be re-created.
[ADT_INST] Do you want to continue installation? Please enter Y/N:
y
Creating directory /home/ubu/test-yocto/qemuarm...
Extracting rootfs: core-image-sato-sdk-qemuarm.tar.bz2, using pseudo...
Updating environment script with target sysroot location.
ls: cannot access /media/ubu/big-ubu/work/m2-rc1/toolchain/adt-installer/sdk2/environment-setup-arm*: No such file or directory
[ADT_INST] Error: Failed to find environment script for arch: arm
ubu@ubu-v:/media/ubu/big-ubu/work/m2-rc1/toolchain/adt-installer$
Comment 1 Alexandru Georgescu 2014-01-16 08:28:32 UTC
Created attachment 1734 [details]
adt_installer.conf
Comment 3 Alexandru Georgescu 2014-02-10 11:43:41 UTC
verified.
Comment 4 Alexandru Georgescu 2014-02-10 11:44:17 UTC
.