From 9e6b1ac4b85df82e0351d4375345c450bdb11008 Mon Sep 17 00:00:00 2001 From: Liping Ke Date: Thu, 3 Mar 2011 03:18:38 +0800 Subject: 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 Signed-off-by: Richard Purdie --- .../installer/adt-installer/scripts/adt_installer_internal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal') 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 fi #first update repository -OPKG_CMD="sudo $LOCAL_OPKG_LOC/bin/opkg-cl" +OPKG_CMD="sudo -E $LOCAL_OPKG_LOC/bin/opkg-cl" echo_info "Updating opkg..." $OPKG_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR update &>> $YOCTOADT_INSTALL_LOG_FILE -- cgit v1.2.3-54-g00ecf