summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
diff options
context:
space:
mode:
authorLiping Ke <liping.ke@intel.com>2011-03-03 03:18:38 +0800
committerSaul Wold <sgw@linux.intel.com>2011-03-03 16:33:58 -0800
commit976cb2d81da176809f09db5f976c6373e00a4f11 (patch)
tree04fdcb523ce56b602ecaf38120c14bf0938236ec /meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
parent00d70680f92eba6e6bdfa514d4cf804c4d5d8ae6 (diff)
downloadpoky-976cb2d81da176809f09db5f976c6373e00a4f11.tar.gz
ADT: Bug fix for Suse Linux
On Suse linux11.2, we found when using sudo, we must add -E opts to preserver some network proxy environment settings. Otherwise, opkg-cl can't access files behind firewall. [bug #785] Also, we need to add absolute path when sourcing files. Fix for [bug #786] (From OE-Core rev: 794da1a4cffaedc8a9ceeb0b089d7236b22e7913) Signed-off-by: Liping Ke <liping.ke@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal')
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal2
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 b5e304d442..df142ff31b 100755
--- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
@@ -81,7 +81,7 @@ else
81fi 81fi
82 82
83#first update repository 83#first update repository
84OPKG_CMD="sudo $LOCAL_OPKG_LOC/bin/opkg-cl" 84OPKG_CMD="sudo -E $LOCAL_OPKG_LOC/bin/opkg-cl"
85 85
86echo_info "Updating opkg..." 86echo_info "Updating opkg..."
87$OPKG_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR update &>> $YOCTOADT_INSTALL_LOG_FILE 87$OPKG_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR update &>> $YOCTOADT_INSTALL_LOG_FILE