mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
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>
This commit is contained in:
@@ -131,8 +131,8 @@ fi
|
|||||||
|
|
||||||
echo_info "Updating opkg..."
|
echo_info "Updating opkg..."
|
||||||
$OPKG_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR update &>> $YOCTOADT_INSTALL_LOG_FILE
|
$OPKG_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR update &>> $YOCTOADT_INSTALL_LOG_FILE
|
||||||
echo_info "opkg update process ended..."
|
|
||||||
check_result
|
check_result
|
||||||
|
echo_info "opkg update process ended..."
|
||||||
|
|
||||||
#install below must sdk-host packages
|
#install below must sdk-host packages
|
||||||
OPKG_INSTALL_CMD="$OPKG_CMD "
|
OPKG_INSTALL_CMD="$OPKG_CMD "
|
||||||
|
|||||||
Reference in New Issue
Block a user