* [PATCH] classes/license: fix manifest to work with deb
@ 2012-07-05 14:48 Paul Eggleton
2012-07-09 17:06 ` Saul Wold
0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggleton @ 2012-07-05 14:48 UTC (permalink / raw)
To: openembedded-core
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] classes/license: fix manifest to work with deb
2012-07-05 14:48 [PATCH] classes/license: fix manifest to work with deb Paul Eggleton
@ 2012-07-09 17:06 ` Saul Wold
0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2012-07-09 17:06 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Paul Eggleton
On 07/05/2012 07:48 AM, Paul Eggleton wrote:
> 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 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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)
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-09 17:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-05 14:48 [PATCH] classes/license: fix manifest to work with deb Paul Eggleton
2012-07-09 17:06 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox