Skip to contentSkip to conversation

license.bbclass: add LICENSE_CREATE_PACKAGE to perform_packagecopy vardeps

PATCH New Ross Burton 1 participant 1 message Feb 3, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 license.bbclass: add LICENSE_CREATE_PACKAGE to perform_packagecopy vardeps

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 ]

---
 meta/classes/license.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes/license.bbclass +1 -0
index fe38d21..a7f3773 100644
@@ -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 = {}
Signature · 1 line
2.7.0