diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-07-05 15:48:23 +0100 |
---|---|---|
committer | Scott Garman <scott.a.garman@intel.com> | 2012-08-10 09:27:00 -0700 |
commit | 6ffd958ff2f7f1d07ab9da5ca8db1727dd074980 (patch) | |
tree | cd318547da94358813aa82856e4020dc22992a30 | |
parent | 07b9c3bc67439d47627fe256796465520b533753 (diff) | |
download | openembedded-core-6ffd958ff2f7f1d07ab9da5ca8db1727dd074980.tar.gz openembedded-core-6ffd958ff2f7f1d07ab9da5ca8db1727dd074980.tar.bz2 openembedded-core-6ffd958ff2f7f1d07ab9da5ca8db1727dd074980.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>
-rw-r--r-- | 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 6c4a6739f2..cd4512ec7e 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) |