From 0dfeb6a13e5c991ed8a1a1b827103b672ec84bff Mon Sep 17 00:00:00 2001 From: Chong Lu Date: Fri, 4 Jul 2014 16:45:15 +0800 Subject: [PATCH] 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. (From OE-Core rev: d55df5c6a707a3cf5e8d95896b1e43193482d95f) Signed-off-by: Chong Lu Signed-off-by: Richard Purdie --- .../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 " -- 2.7.4