manifests: simplify MANIFESTFILES support 42/30742/1
authorPatrick Ohly <patrick.ohly@intel.com>
Mon, 24 Nov 2014 14:26:53 +0000 (15:26 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Mon, 24 Nov 2014 20:29:51 +0000 (21:29 +0100)
With the enhanced copying from commit 022b671545, tizen_copy_manifest()
can be called for all recipes, thus making the extra "inherit manifest"
redundant. The class still exists, it just doesn't do anything anymore.

"inherit manifest" can be removed again from spec2yocto and the class
deleted after re-generating the auto-generated .bb files.

Change-Id: I4ce9547dbee14c9c0872ec7ff837bb3652557ec2
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-tizen-common-base/classes/manifest.bbclass
meta-tizen-common-base/classes/metatizen.bbclass

index cee0d98..8bdbdc4 100644 (file)
@@ -1,3 +1 @@
-do_package_prepend() {
-    bb.build.exec_func('tizen_copy_manifest', d)
-}
+# Obsolete, remove once auto-generated code no longer has "inherit manifest".
index ce6c5ea..3977f47 100644 (file)
@@ -29,6 +29,7 @@ def package_rpm_extra_pkgdata(splitname, spec_file, d):
 # Copies manifest files from source to packages-split. Necessary because
 # source is not always available during packaging (for example, when
 # using sstate), only $PKGDEST is.
+PACKAGESPLITFUNCS_append = " tizen_copy_manifest"
 python tizen_copy_manifest () {
     dest = d.getVar('S', True)
     dvar = d.getVar('PKGDEST', True)