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:20:13 +0100 |
commit | 018e85e62df96cc4b8fb0a29871126e411af3baa (patch) | |
tree | 0a479c0651976eeb096005a80303da705ba36871 /meta/recipes-devtools/installer | |
parent | f6290450132c21afd72c11c4d3581c5967defb41 (diff) | |
download | poky-018e85e62df96cc4b8fb0a29871126e411af3baa.tar.gz |
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 <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/installer')
-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 | |||
131 | 131 | ||
132 | echo_info "Updating opkg..." | 132 | echo_info "Updating opkg..." |
133 | $OPKG_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR update &>> $YOCTOADT_INSTALL_LOG_FILE | 133 | $OPKG_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR update &>> $YOCTOADT_INSTALL_LOG_FILE |
134 | echo_info "opkg update process ended..." | ||
135 | check_result | 134 | check_result |
135 | echo_info "opkg update process ended..." | ||
136 | 136 | ||
137 | #install below must sdk-host packages | 137 | #install below must sdk-host packages |
138 | OPKG_INSTALL_CMD="$OPKG_CMD " | 138 | OPKG_INSTALL_CMD="$OPKG_CMD " |