]> code.ossystems Code Review - openembedded-core.git/commit
devtool: sdk-update: fix handling of UNINATIVE_CHECKSUM changes
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 19 Apr 2016 11:09:11 +0000 (23:09 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Apr 2016 13:46:37 +0000 (14:46 +0100)
commit14ff58ad98a5afac08db77068d80f152d8875766
treec5a22af7acd877ac44b59a1400d6339bae27977d
parente003ef038819c10f351bb8268b377626c95bb077
devtool: sdk-update: fix handling of UNINATIVE_CHECKSUM changes

If UNINATIVE_CHECKSUM changes over an SDK update, bitbake within the
extensible SDK will be broken because it will see that the matching
uninative tarball doesn't exist and if there is a default value of
UNINATIVE_URL it will attempt to download the file and will then fail
because the checksums don't match up; alternatively if no UNINATIVE_URL
is set then it'll also fail with an error about misconfiguration. To fix
this, add some logic to devtool sdk-update to download the matching
uninative tarball(s) for the checksum(s) in the newly fetched SDK
configuration.

Fixes [YOCTO #9301].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/sdk.py