Bug 12877 - devtool sdk-update doesnt fail with broken link
Summary: devtool sdk-update doesnt fail with broken link
Status: CLOSED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 2.4.5
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.5.2
Assignee: Armin Kuster
QA Contact:
URL:
Whiteboard: backport 2.4.4 and 2.5.2
Depends on:
Blocks:
 
Reported: 2018-08-09 14:41 UTC by Vineeth Chowdary
Modified: 2018-11-01 01:36 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vineeth Chowdary 2018-08-09 14:41:39 UTC
Rocko release (default configuration ):


Steps to repeat:
=====

$ wget http://mirrors.kernel.org/yocto/yocto/yocto-2.4/poky-rocko-18.0.0.tar.bz2
$ tar xvf poky-rocko-18.0.0.tar.bz2
$ cd poky-rocko-18.0.0
$ source oe-init-build-env
$ bitbake core-image-minimal -c do_populate_sdk_ext


(Install eSDK from installer)
$ tmp/deploy/sdk/poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-2.4.sh -p -y -d ~/sdk/sdk-1
$ . ~/sdk/sdk-1/environment-setup-i586-poky-linux

( broken link )
$ ping http://mylocal
[ ping: unknown host http://mylocal ]

(Update SDK with broken link)
$ devtool sdk-update http://mylocal


Observed Behaviour:
==================
NOTE: Starting bitbake server...
NOTE: Starting bitbake server...
NOTE: Already up-to-date


Expected Behaviour:
==================
sdk update shouldfail with proper failure message
Comment 2 Vineeth Chowdary 2018-08-09 15:06:08 UTC
Yes it is fixed with the provided commit.

Thank you very much
Comment 3 Armin Kuster 2018-08-09 16:08:37 UTC
commit backport to both stable/sumo & rocko test branches
Comment 5 Armin Kuster 2018-11-01 01:36:05 UTC
done