Patchwork license bbclass: put licenses in DEPLOY_DIR/licenses to avoid sstate problems when MACHINE is part of DEPLOY_DIR_IMAGE

login
register
mail settings
Submitter Koen Kooi
Date May 17, 2011, 9:47 a.m.
Message ID <1305625673-28395-1-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/4221/
State New, archived
Headers show

Comments

Koen Kooi - May 17, 2011, 9:47 a.m.
See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/002535.html for more info.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta/classes/license.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Richard Purdie - May 17, 2011, 10:57 a.m.
On Tue, 2011-05-17 at 11:47 +0200, Koen Kooi wrote:
> See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/002535.html for more info.
> 
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
>  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 d0a1418..4fd1f85 100644
> --- a/meta/classes/license.bbclass
> +++ b/meta/classes/license.bbclass
> @@ -8,7 +8,7 @@
>  #  licenses.conf and compare them to the license names in the recipes. You'll see some
>  #  differences and that should be corrected.
>  
> -LICENSE_DIRECTORY ??= "${DEPLOY_DIR_IMAGE}/licenses"
> +LICENSE_DIRECTORY ??= "${DEPLOY_DIR}/licenses"
>  LICSSTATEDIR = "${WORKDIR}/license-destdir/"
>  
>  addtask populate_lic after do_patch before do_package 

Merged to master, thanks.

Richard

Patch

diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index d0a1418..4fd1f85 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -8,7 +8,7 @@ 
 #  licenses.conf and compare them to the license names in the recipes. You'll see some
 #  differences and that should be corrected.
 
-LICENSE_DIRECTORY ??= "${DEPLOY_DIR_IMAGE}/licenses"
+LICENSE_DIRECTORY ??= "${DEPLOY_DIR}/licenses"
 LICSSTATEDIR = "${WORKDIR}/license-destdir/"
 
 addtask populate_lic after do_patch before do_package