aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/installer/adt-installer/adt_installer
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2014-01-17 17:16:18 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-22 07:18:01 +0000
commit22351d27de76b39cb71904396e73497e36d9e1d6 (patch)
tree466b5b694c6295f7e123037a3a3aa484f823d9b2 /meta/recipes-devtools/installer/adt-installer/adt_installer
parent3a22b5df5aa38a98b35bc2931d646a2b7702fbec (diff)
downloadopenembedded-core-contrib-22351d27de76b39cb71904396e73497e36d9e1d6.tar.gz
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] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/installer/adt-installer/adt_installer')
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/adt_installer4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-installer/adt_installer
index a150de0525..1f2d039598 100755
--- a/meta/recipes-devtools/installer/adt-installer/adt_installer
+++ b/meta/recipes-devtools/installer/adt-installer/adt_installer
@@ -55,7 +55,7 @@ usage ()
echo_info "# Your rootfs image(s) and target sysroot selections from adt_installer.conf"
echo_info "##############################################################################"
prompt=1
-for arch_type in $YOCTOADT_SUPPORTED_TARGETS; do
+for arch_type in $YOCTOADT_TARGETS; do
download_images $arch_type $prompt
done
echo_info "############################################################################\n"
@@ -403,7 +403,7 @@ else
override_oldfile=0
fi
-for arch_type in $YOCTOADT_SUPPORTED_TARGETS; do
+for arch_type in $YOCTOADT_TARGETS; do
download_images $arch_type
done