diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-07-22 11:16:52 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-23 21:44:21 +0100 |
commit | e0080f279d5ebb320c2ba285765048fcca523fe7 (patch) | |
tree | 9824ba41d5656b1ee1d1cff98773b91182d4126c /meta/recipes-devtools/installer/adt-installer | |
parent | f14ee284da19665f157453021e3fa0e3a0dbf75d (diff) | |
download | openembedded-core-e0080f279d5ebb320c2ba285765048fcca523fe7.tar.gz openembedded-core-e0080f279d5ebb320c2ba285765048fcca523fe7.tar.bz2 openembedded-core-e0080f279d5ebb320c2ba285765048fcca523fe7.zip |
adt-installer: fix sed input file error
When use default install directory, we can't get the environment setup
script path. The reason is that opkg-cl list incorrect files paths.
This patch sets env_script variable to make us get correct environment
setup script path.
[YOCTO #6443]
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/installer/adt-installer')
-rwxr-xr-x | meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal index cdf93da206..00db301df0 100755 --- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal +++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal @@ -163,6 +163,7 @@ for target_type in $YOCTOADT_TARGETS; do # opkg will not install packagegroup-cross-canadian package if it was already # installed. So, the environment script is in one place or the other. + [ -e "$INSTALL_FOLDER/$env_script_original" ] && env_script=$INSTALL_FOLDER/$env_script_original [ -e "$env_script_original" ] && env_script=$env_script_original [ -e "$env_script_relocated" ] && env_script=$env_script_relocated |