]> code.ossystems Code Review - openembedded-core.git/commit
devtool: show proper error when extracting source for recipes with disabled unpack...
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 22 Sep 2015 16:21:30 +0000 (17:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Sep 2015 17:12:56 +0000 (18:12 +0100)
commit39a93c85e798e72edd6ab3c05f8adbb1a97e893e
tree8b0412c79c377297ee05242750707bdc65c7e4cd
parent58dc726808817210764eab963a4d453dc4ff49aa
devtool: show proper error when extracting source for recipes with disabled unpack task

If you try to use "devtool modify -x" or "devtool extract" on a recipe
where do_unpack has been set as noexec (e.g. glibc-locale), then we get
an error because the expected source wasn't ever unpacked. Do a check up
front for noexec being set on do_unpack and error out with a reasonable
message if that's the case.

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