adt_installer: do not install rootfs if target is not selected
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Fri, 17 Jan 2014 15:16:18 +0000 (17:16 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Jan 2014 07:20:04 +0000 (07:20 +0000)
commit59aa633069e557180c430c2d1a3b1d7383b28d6a
treeabd0103c6706ff8732678066347696c2a45b1e8f
parent8b20f0790a3a6ba7534ea9d7e215bc2c1ebac426
adt_installer: do not install rootfs if target is not selected

Currently, if YOCTOADT_TARGETS does not contain an architecture but the
rootfs/machine settings are uncommented, then the rootfs is installed
and adt will throw an error because is not able to find the toolchain
environment script.

This patch will:
 * not allow to install a target rootfs if the toolchain for the
   target architecture is not selected;
 * uncomment the target rootfs/machine settings for the other
   architectures since it's easier for the user to just add a new
   architecture in YOCTOADT_TARGETS and have the target rootfs
   installed;

[YOCTO #5727]

(From OE-Core rev: 22351d27de76b39cb71904396e73497e36d9e1d6)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/installer/adt-installer/adt_installer
meta/recipes-devtools/installer/adt-installer/adt_installer.conf
meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal