]> code.ossystems Code Review - openembedded-core.git/commit
adt_installer: fix issue with x86_64
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Wed, 26 Feb 2014 13:54:45 +0000 (15:54 +0200)
committerSaul Wold <sgw@linux.intel.com>
Fri, 28 Feb 2014 09:32:11 +0000 (11:32 +0200)
commita88c386239ddc5816d9045d12cf6db4872fa86da
treeb2b2e8928b1d27c67d3588697440d0ff14af207e
parentabf40223d1412ee8f9d2b5269fad7c6aca6c2570
adt_installer: fix issue with x86_64

When the default tune for x86_64 was changed to core2-64, the
environment setup script name did not contain x86 anymore. Hence, the
adt_installer failed for x86_64.

This commit contains a generic fix and is supposed to work with any kind
of machine/tune setting. It's actually extracting the environment script
name using 'opkg files meta-environment-MACHINE'. So, no need to do any
other sort of searches. We know exactly which is the environment setup
script for the specified machine.

[YOCTO #5806]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal