From patchwork Mon Jul 9 15:47:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [CONSOLIDATED, PULL, 20/41] classes/license: fix manifest to work with deb Date: Mon, 09 Jul 2012 15:47:34 -0000 From: Saul Wold X-Patchwork-Id: 31467 Message-Id: <09fefd74fd3361411959985938f778e44c4cfae7.1341802889.git.sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org From: Paul Eggleton 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 --- meta/classes/license.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index e6096a6..4e25cf8 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)