[OE-core] [PATCH] license.bbclass: add LICENSE_CREATE_PACKAGE to perform_packagecopy vardeps

Ross Burton ross.burton at intel.com
Wed Feb 3 16:37:33 UTC 2016


This class has a perform_packagecopy_prepend() that uses LICENSE_CREATE_PACKAGE,
but the BitBake variable dependency code doesn't know that oe.data.typed_value()
is a getter.  Until BitBake knows this, add an explicit vardeps.

[ YOCTO #5635 ]

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/license.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index fe38d21..a7f3773 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -312,6 +312,7 @@ python perform_packagecopy_prepend () {
         copy_license_files(lic_files_paths, destdir)
         add_package_and_files(d)
 }
+perform_packagecopy[vardeps] += "LICENSE_CREATE_PACKAGE"
 
 def get_recipe_info(d):
     info = {}
-- 
2.7.0




More information about the Openembedded-core mailing list