]> code.ossystems Code Review - openembedded-core.git/commit
image_types_wic: set default WKS_FILE_DEPENDS
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 14 Jul 2017 12:33:05 +0000 (15:33 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Jul 2017 12:48:54 +0000 (13:48 +0100)
commit01fc31854f7da6b3a4546121f809875c35bbf0e0
treea01b1abea230ef481e8579b2e400bdce64ab7cb4
parent47b569553f1211e04ee21ebdece2ee3a509a83be
image_types_wic: set default WKS_FILE_DEPENDS

The default set of dependencies used via wic-tools is not used
anymore as wic images don't depend on wic-tools.

Set of packages required to produce wic image depends on the content
of the .wks file, so WKS_FILE_DEPENDS variable should be used to
provide correct list of dependencies when WKS_FILE variable is set.

As WKS_FILE_DEPENDS is not used in many existing recipes yet we need
to provide default value for it to ensure that removal of wic-tool
dependency doesn't cause image build failures.

Initialized WKS_FILE_DEPENDS with the set of dependencies previously
brought by wic-tool. This is done to provide compatibility and to
avoid breakages of existing image recipes that rely on current set
of dependencies.

Note: This is a temporary solution for transition period.
After some time the list will be either reduced or removed.
Recommended solution is to use WKS_FILE_DEPENDS in image recipes
together with WKS_FILE to specify dependencies.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/image_types_wic.bbclass