Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] adt_installer: Fix sed file not found error
@ 2014-06-30 15:21 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-06-30 15:21 UTC (permalink / raw)
  To: openembedded-core

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]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

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 432ba41..8d2ff57 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
 
   # get the environment setup script paths: original (the one before relocation)
   # and relocated
-  env_script_original=`$OPKG_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR files meta-environment-$machine|\
+  env_script_original=$NATIVE_INSTALL_DIR`$OPKG_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR files meta-environment-$machine|\
 							grep environment-setup`
   env_script_relocated=$INSTALL_FOLDER/${env_script_original##*/}
 




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-30 15:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-30 15:21 [PATCH] adt_installer: Fix sed file not found error Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox