testimage: fail if no package manifest is found
authorStefan Stanacar <stefanx.stanacar@intel.com>
Sun, 9 Feb 2014 10:39:31 +0000 (12:39 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2014 11:56:56 +0000 (11:56 +0000)
commit6a7f878c21848b455c9cea02b56d586bc5f5161a
treed54429447011ebb06e0eb0fa3ba1e9daacef56a9
parente26dc530dfbd4d3fb7885e8c64633ead49df9702
testimage: fail if no package manifest is found

Sometimes we may forget to actually build the image
we want to test (when testimage task is called manually).
Instead of an ugly traceback we should fail nicely.
The manifest is written after the rootfs so this ensures
the image was actually built.

(From OE-Core rev: 85c8dd4170a88a5d7f3d9ca181e75720302727c5)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/testimage.bbclass