Patchwork [1/2] core-image-rt-*.bb: require munges DESCRIPTION

login
register
mail settings
Submitter Elizabeth Flanagan
Date April 16, 2012, 8:10 p.m.
Message ID <eb9e9cf6caf5fdd4845e36064c6d529cf0cbe9df.1334606582.git.elizabeth.flanagan@intel.com>
Download mbox | patch
Permalink /patch/25953/
State Accepted
Commit 0bd5f0a86370881b4eb2455df21b0575f6ffd008
Headers show

Comments

Elizabeth Flanagan - April 16, 2012, 8:10 p.m.
The require of core-image-minimal overrides the description.
The best fix for this would be conditional setting of DESCRIPTION
in the required images for all image descriptions, but that opens
a potential can of worms. Moving the require fixes this.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
---
 meta/recipes-rt/images/core-image-rt-sdk.bb |    3 +--
 meta/recipes-rt/images/core-image-rt.bb     |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

Patch

diff --git a/meta/recipes-rt/images/core-image-rt-sdk.bb b/meta/recipes-rt/images/core-image-rt-sdk.bb
index 5a67eeb..6ec2d00 100644
--- a/meta/recipes-rt/images/core-image-rt-sdk.bb
+++ b/meta/recipes-rt/images/core-image-rt-sdk.bb
@@ -1,14 +1,13 @@ 
 #
 # Copyright (C) 2011 Intel Corporation.
 #
+require recipes-core/images/core-image-minimal.bb
 
 DESCRIPTION = "Small image capable of booting a device with a test suite and \
 tools for real-time use. It includes the full meta-toolchain, development \
 headers and libraries to form a standalone SDK."
 DEPENDS = "linux-yocto-rt"
 
-require recipes-core/images/core-image-minimal.bb
-
 IMAGE_FEATURES += "dev-pkgs tools-sdk"
 EXTRA_IMAGE_FEATURES += "tools-debug tools-profile tools-testapps debug-tweaks"
 
diff --git a/meta/recipes-rt/images/core-image-rt.bb b/meta/recipes-rt/images/core-image-rt.bb
index ef547a6..9b816bb 100644
--- a/meta/recipes-rt/images/core-image-rt.bb
+++ b/meta/recipes-rt/images/core-image-rt.bb
@@ -1,13 +1,12 @@ 
 #
 # Copyright (C) 2010 Intel Corporation.
 #
+require recipes-core/images/core-image-minimal.bb
 
 DESCRIPTION = "A small image just capable of allowing a device to boot plus a \
 real-time test suite and tools appropriate for real-time use."
 DEPENDS = "linux-yocto-rt"
 
-require recipes-core/images/core-image-minimal.bb
-
 IMAGE_INSTALL += "rt-tests"
 
 LICENSE = "MIT"