poky/scripts/lib/devtool
Chen Qi 6069ffb48d devtool/sdk.py: error out in case of downloading file failure
It's possible that downloading file from updateserver fails. In
this case, we should error out instead of continue.

We have users reporting unexpected behavior of 'devtool sdk-update'.
When an invalid url is supplied, e.g., `devtool sdk-update http://invalid',
the program reports 'Note: Already up-to-date'.

This is obviously not expected. We should error out in such case.

(From OE-Core rev: 449564783dfb162536a2f772b3a8704973221e0f)

(From OE-Core rev: 61a56f6c5db9a3575a21f0c206f0fa760cf005e0)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-16 10:00:08 +01:00
..
__init__.py devtool: set up git repos so that singletask.lock is ignored 2018-02-06 11:06:27 +00:00
build_image.py scripts: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
build_sdk.py devtool: add build-sdk subcommand 2016-03-07 00:11:38 +00:00
build.py devtool: add "rename" subcommand 2016-11-07 11:04:22 +00:00
deploy.py devtool: deploy-target: don't specify ssh/scp port unless user does 2018-03-01 22:13:56 +00:00
export.py devtool: export: new plugin to export the devtool workspace 2017-08-23 08:47:02 +01:00
import.py devtool: import: new plugin to import the devtool workspace 2017-08-23 08:47:02 +01:00
package.py meta/scripts: Various getVar/getVarFlag expansion parameter fixes 2017-01-09 13:39:11 +00:00
runqemu.py devtool: point runqemu to correct native bindir 2017-04-05 23:22:12 +01:00
sdk.py devtool/sdk.py: error out in case of downloading file failure 2018-08-16 10:00:08 +01:00
search.py devtool: search: tweak help text 2018-03-01 22:13:56 +00:00
standard.py devtool: add --force-patch-refresh to 'modify' and 'finish' commands 2018-03-11 06:27:00 -07:00
upgrade.py devtool: rename the suggested license change tag to 'License-Update:' 2018-01-18 12:50:37 +00:00
utilcmds.py devtool: make find-recipe and edit-recipe always work with any recipe 2017-11-11 12:14:27 +00:00