diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-07-04 16:45:15 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-08 11:19:50 +0100 |
commit | d55df5c6a707a3cf5e8d95896b1e43193482d95f (patch) | |
tree | 2a032dc2664230b29e6e36d58f5e0359c9187fd9 | |
parent | 656a784a7c43b619d51a47aab926d7c519cc3b4b (diff) | |
download | openembedded-core-d55df5c6a707a3cf5e8d95896b1e43193482d95f.tar.gz openembedded-core-d55df5c6a707a3cf5e8d95896b1e43193482d95f.tar.bz2 openembedded-core-d55df5c6a707a3cf5e8d95896b1e43193482d95f.zip |
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@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | 2 |
1 files changed, 1 insertions, 1 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 6a219a3929..cdf93da206 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 " |