]> code.ossystems Code Review - openembedded-core.git/commit
devtool: Fix build-sdk when pn doesn't match filename
authorRandy Witt <randy.e.witt@linux.intel.com>
Mon, 9 May 2016 22:46:27 +0000 (10:46 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 May 2016 20:28:32 +0000 (21:28 +0100)
commitda9e793fd7497e63404c987d68e3b630a89fc1c2
tree82d2952a9df3cf05ab21242923a73be61914fbc9
parenta89e4e27ba3f4bc3d1c649b3b8ad8ddc4d227d0d
devtool: Fix build-sdk when pn doesn't match filename

If an image with the filename foo.bb could be built using the name "bar"
instead, then build-sdk would fail to create the derivative sdk.

This was because the code assumed that the file name matched the target,
which is not necessarily the case.

(From OE-Core rev: d58a326b6960be14b8a049253559aec9582b7d0d)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.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>
scripts/devtool
scripts/lib/devtool/build_image.py