summaryrefslogtreecommitdiffstats
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:58 +0100
commit2fefa9c3351592e04942a64b845d008e63f102af (patch)
tree34df303b7030c93278611888f56c52f38caad75d
parent91a3a07884041869a518f970ca0f7e334e540d27 (diff)
downloadpoky-2fefa9c3351592e04942a64b845d008e63f102af.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: 56fafe083fdb63f156a081344fb1d836e3182bf0) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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"
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)