summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-07-05 15:48:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-09 16:58:17 +0100
commit56fafe083fdb63f156a081344fb1d836e3182bf0 (patch)
treef819ba2671cb6d1a5bf22d96afbfdaad4a2a1ac5 /meta/classes
parentc9479ae46d0b891eda8f0db89bc66fdf08c3f7c2 (diff)
downloadopenembedded-core-56fafe083fdb63f156a081344fb1d836e3182bf0.tar.gz
openembedded-core-56fafe083fdb63f156a081344fb1d836e3182bf0.tar.bz2
openembedded-core-56fafe083fdb63f156a081344fb1d836e3182bf0.zip
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). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
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 e6096a65b3..4e25cf82b5 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -382,7 +382,7 @@ do_populate_lic[sstate-name] = "populate-lic"
do_populate_lic[sstate-inputdirs] = "${LICSSTATEDIR}"
do_populate_lic[sstate-outputdirs] = "${LICENSE_DIRECTORY}/"
-ROOTFS_POSTINSTALL_COMMAND += "license_create_manifest; "
+ROOTFS_POSTPROCESS_COMMAND_prepend = "license_create_manifest; "
python do_populate_lic_setscene () {
sstate_setscene(d)