]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory.bbclass: create image directory when needed
authorPatrick Ohly <patrick.ohly@intel.com>
Mon, 28 Mar 2016 13:27:57 +0000 (15:27 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Mar 2016 11:59:56 +0000 (12:59 +0100)
commit723328319ee53235969ec9cce7ff5d7729dcf8d7
tree8b8894b152a2cf2d24f298e111605031433ee038
parentd5ddc5ec1628c94bd5edc45bc821da1ce616e80f
buildhistory.bbclass: create image directory when needed

buildhistory_get_imageinfo() assumed that the buildhistory directory
for the image had already been created earlier. That assumption is not
true for special images (like the virtual swupd images from
meta-swupd) where the entire traditional do_rootfs/do_image is
skipped.

Creating files-in-image.txt still makes sense for such images, so
support them by creating the directory also in
buildhistory_get_imageinfo().

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildhistory.bbclass