]> code.ossystems Code Review - openembedded-core.git/commit
license.bbclass: make sure that image manifest dir exists
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 21 Apr 2016 11:03:26 +0000 (14:03 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Apr 2016 15:28:47 +0000 (16:28 +0100)
commite2dbe5eb869b8336b91023b83d7ca866197efa73
tree2b3cbb119be41f9f765de763ce0a55012ffb000c
parent84686b51043c5a6b0ae184d00f547ccbd7832f39
license.bbclass: make sure that image manifest dir exists

Previously, write_deploy_manifest() was relying on
write_package_manifest() to create the subdirectory for the manifest
file. However, do_rootfs may be an empty function so that
write_package_manifest() will not be called and the manifest
subdirectory will not be created, causing a build failure. This patch
fixes that by creating the directory hierarchy inside
write_deploy_manifest().

[YOCTO #9446]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/license.bbclass