* [PATCH 0/1] new bugfix for adt installer on SuseLinux
@ 2011-03-02 19:28 Liping Ke
2011-03-02 19:28 ` [PATCH 1/1] ADT: Bug fix for Suse Linux Liping Ke
2011-03-04 1:26 ` [PATCH 0/1] new bugfix for adt installer on SuseLinux Saul Wold
0 siblings, 2 replies; 3+ messages in thread
From: Liping Ke @ 2011-03-02 19:28 UTC (permalink / raw)
To: poky
From: Liping Ke <liping.ke@intel.com>
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]
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: lke/adt-newfix
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lke/adt-newfix
Thanks,
Liping Ke <liping.ke@intel.com>
---
Liping Ke (1):
ADT: Bug fix for Suse Linux
.../adt-installer/scripts/adt_installer_internal | 2 +-
.../installer/adt-installer/scripts/data_define | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 1/1] ADT: Bug fix for Suse Linux
2011-03-02 19:28 [PATCH 0/1] new bugfix for adt installer on SuseLinux Liping Ke
@ 2011-03-02 19:28 ` Liping Ke
2011-03-04 1:26 ` [PATCH 0/1] new bugfix for adt installer on SuseLinux Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Liping Ke @ 2011-03-02 19:28 UTC (permalink / raw)
To: poky
From: Liping Ke <liping.ke@intel.com>
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]
Signed-off-by: Liping Ke <liping.ke@intel.com>
---
.../adt-installer/scripts/adt_installer_internal | 2 +-
.../installer/adt-installer/scripts/data_define | 2 +-
2 files changed, 2 insertions(+), 2 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 9653284..f8b5e68 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
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/data_define b/meta/recipes-devtools/installer/adt-installer/scripts/data_define
index 77f8b38..e29cc30 100644
--- a/meta/recipes-devtools/installer/adt-installer/scripts/data_define
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/data_define
@@ -23,7 +23,7 @@
# THE SOFTWARE.
config_file="adt_installer.conf"
-source $config_file
+source `eval echo $PWD`/$config_file
LOCAL_OPKG_LOC="./opkg/build/opkg"
LOCAL_OPKG_FOLDER="./opkg/build"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 0/1] new bugfix for adt installer on SuseLinux
2011-03-02 19:28 [PATCH 0/1] new bugfix for adt installer on SuseLinux Liping Ke
2011-03-02 19:28 ` [PATCH 1/1] ADT: Bug fix for Suse Linux Liping Ke
@ 2011-03-04 1:26 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2011-03-04 1:26 UTC (permalink / raw)
To: poky
On 03/02/2011 11:28 AM, Liping Ke wrote:
> From: Liping Ke<liping.ke@intel.com>
>
> 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]
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
> Branch: lke/adt-newfix
> Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lke/adt-newfix
>
> Thanks,
> Liping Ke<liping.ke@intel.com>
> ---
>
>
> Liping Ke (1):
> ADT: Bug fix for Suse Linux
>
> .../adt-installer/scripts/adt_installer_internal | 2 +-
> .../installer/adt-installer/scripts/data_define | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
Merged into OE-Core and Bernard
with a minor tweak to change the `eval echo $PWD` -> `pwd`
Thanks
Sau!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-04 1:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-02 19:28 [PATCH 0/1] new bugfix for adt installer on SuseLinux Liping Ke
2011-03-02 19:28 ` [PATCH 1/1] ADT: Bug fix for Suse Linux Liping Ke
2011-03-04 1:26 ` [PATCH 0/1] new bugfix for adt installer on SuseLinux Saul Wold
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.