diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-30 16:21:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-30 16:36:44 +0100 |
commit | 247c9a192cba178e9e9ede050e839d8e504ce7b8 (patch) | |
tree | 12f04986c8c611748d7050653f718d557beec145 | |
parent | 9e1c86921ce1bb561bdef97b0f6da7d35f15c9d8 (diff) | |
download | poky-247c9a192cba178e9e9ede050e839d8e504ce7b8.tar.gz |
adt_installer: Fix sed file not found error
We need to look for the installed file within the sysroot we just installed
so add in the missing prefix. This avoids errors like:
Installing cross canadian packages for qemux86 ...
sed: no input files
[YOCTO #6443]
(From OE-Core rev: 3042dcaecadee266b1e4dcae102030c7e4802b89)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | 2 |
1 files changed, 1 insertions, 1 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 432ba41237..8d2ff57821 100755 --- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal +++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | |||
@@ -157,7 +157,7 @@ for target_type in $YOCTOADT_TARGETS; do | |||
157 | 157 | ||
158 | # get the environment setup script paths: original (the one before relocation) | 158 | # get the environment setup script paths: original (the one before relocation) |
159 | # and relocated | 159 | # and relocated |
160 | env_script_original=`$OPKG_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR files meta-environment-$machine|\ | 160 | env_script_original=$NATIVE_INSTALL_DIR`$OPKG_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR files meta-environment-$machine|\ |
161 | grep environment-setup` | 161 | grep environment-setup` |
162 | env_script_relocated=$INSTALL_FOLDER/${env_script_original##*/} | 162 | env_script_relocated=$INSTALL_FOLDER/${env_script_original##*/} |
163 | 163 | ||