summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-07-05 14:48:23 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-21 10:16:45 (GMT)
commit4539cf1936d85370f41deec710172a4c874f6239 (patch)
tree66257b5a55ecfbd811d74104833e5883cd56b84c /meta/classes
parent6631752c2525dbcc18d4e907a88162dad819a092 (diff)
downloadpoky-4539cf1936d85370f41deec710172a4c874f6239.tar.gz
classes/license: fix manifest to work with deb
Prepend the license manifest creation call to ROOTFS_POSTPROCESS_COMMAND instead of appending to ROOTFS_POSTINSTALL_COMMAND. The latter is not implemented for the deb backend (and probably ought to just be removed completely), and by using _prepend we can still ensure it occurs before package info is removed (and before buildhistory in case it is needed there in future). (From OE-Core rev: 6ffd958ff2f7f1d07ab9da5ca8db1727dd074980) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/license.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 6c4a673..cd4512e 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -382,7 +382,7 @@ do_populate_lic[sstate-name] = "populate-lic"
382do_populate_lic[sstate-inputdirs] = "${LICSSTATEDIR}" 382do_populate_lic[sstate-inputdirs] = "${LICSSTATEDIR}"
383do_populate_lic[sstate-outputdirs] = "${LICENSE_DIRECTORY}/" 383do_populate_lic[sstate-outputdirs] = "${LICENSE_DIRECTORY}/"
384 384
385ROOTFS_POSTINSTALL_COMMAND += "license_create_manifest; " 385ROOTFS_POSTPROCESS_COMMAND_prepend = "license_create_manifest; "
386 386
387python do_populate_lic_setscene () { 387python do_populate_lic_setscene () {
388 sstate_setscene(d) 388 sstate_setscene(d)