From 2fefa9c3351592e04942a64b845d008e63f102af Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Thu, 5 Jul 2012 15:48:23 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/license.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-54-g00ecf