summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/installer
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/installer')
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/adt_installer2
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal4
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-installer/adt_installer
index 24db247910..3172de7bca 100755
--- a/meta/recipes-devtools/installer/adt-installer/adt_installer
+++ b/meta/recipes-devtools/installer/adt-installer/adt_installer
@@ -156,7 +156,7 @@ validate_config()
156#this installed local opkg 156#this installed local opkg
157install_opkg() 157install_opkg()
158{ 158{
159if [ ! -x "$LOCAL_OPKG_LOC/bin/opkg-cl" ]; then 159if [ ! -x "$LOCAL_OPKG_LOC/bin/opkg" ]; then
160 echo_info "OPKG is not setup, setting up opkg in local, which is required for installing yocto ADT...\n" 160 echo_info "OPKG is not setup, setting up opkg in local, which is required for installing yocto ADT...\n"
161 161
162 if [ -d $LOCAL_OPKG_LOC ]; then 162 if [ -d $LOCAL_OPKG_LOC ]; then
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 2a8a30ccdc..6f5fb49990 100755
--- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
@@ -124,9 +124,9 @@ fi
124 124
125#first update repository 125#first update repository
126if [ "x$SUDO" = "x" ]; then 126if [ "x$SUDO" = "x" ]; then
127 OPKG_CMD="$LOCAL_OPKG_LOC/bin/opkg-cl" 127 OPKG_CMD="$LOCAL_OPKG_LOC/bin/opkg"
128else 128else
129 OPKG_CMD="sudo -E $LOCAL_OPKG_LOC/bin/opkg-cl" 129 OPKG_CMD="sudo -E $LOCAL_OPKG_LOC/bin/opkg"
130fi 130fi
131 131
132echo_info "Updating opkg..." 132echo_info "Updating opkg..."