]> 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>
Wed, 11 May 2016 09:33:16 +0000 (10:33 +0100)
commitd58a326b6960be14b8a049253559aec9582b7d0d
treefac743a5cd985a835e170d01d16adde8e3d22ae6
parentfc14e794c53f94158a5e6d6a8644656875639d0c
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.

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>
scripts/devtool
scripts/lib/devtool/build_image.py