]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes/license: fix manifest to work with deb
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 5 Jul 2012 14:48:23 +0000 (15:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jul 2012 15:58:17 +0000 (16:58 +0100)
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>
meta/classes/license.bbclass

index e6096a65b3d051e8a52c04c4de8479836509d588..4e25cf82b5381becc1713340d2435c6d0f421be2 100644 (file)
@@ -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)