[oe-commits] Chong Lu : adt_installer: check the result of updating opkg

git at git.openembedded.org git at git.openembedded.org
Tue Jul 8 10:21:47 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: d55df5c6a707a3cf5e8d95896b1e43193482d95f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d55df5c6a707a3cf5e8d95896b1e43193482d95f

Author: Chong Lu <Chong.Lu at windriver.com>
Date:   Fri Jul  4 16:45:15 2014 +0800

adt_installer: check the result of updating opkg

We should check the result of updating opkg rather than echo_info.
So we should call check_result function after updating opkg.

Signed-off-by: Chong Lu <Chong.Lu at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../installer/adt-installer/scripts/adt_installer_internal              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 6a219a3..cdf93da 100755
--- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
@@ -131,8 +131,8 @@ fi
 
 echo_info "Updating opkg..."
 $OPKG_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR update &>> $YOCTOADT_INSTALL_LOG_FILE
-echo_info "opkg update process ended..."
 check_result
+echo_info "opkg update process ended..."
 
 #install below must sdk-host packages
 OPKG_INSTALL_CMD="$OPKG_CMD "



More information about the Openembedded-commits mailing list