All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 02/28] classes/core-image: remove *_IMAGE_FEATURES variables
Date: Mon, 03 Sep 2012 14:14:37 +0100	[thread overview]
Message-ID: <3567012.7tNrQ3EpjS@helios> (raw)
In-Reply-To: <1a2dd4def9f665707e0b8e99f52166906f14f1b5.1346668109.git.paul.eggleton@linux.intel.com>

On Monday 03 September 2012 11:30:22 Paul Eggleton wrote:
> This indirection does not add anything in terms of configuration and
> only serves to increase confusion; and given the nature of these it is
> unlikely they are being used outside of OE-Core. Change the sato-sdk and
> sato-dev images to be based on the main Sato image (avoiding the need
> for a common SATO_IMAGE_FEATURES variable) and eliminate all references
> to them.
> 
> Fixes [YOCTO #2458].
> 
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
>  meta/classes/core-image.bbclass                    |    4 ----
>  meta/recipes-core/images/core-image-core.bb        |    2 +-
>  meta/recipes-graphics/images/core-image-clutter.bb |    2 +-
>  meta/recipes-sato/images/core-image-sato-dev.bb    |    6 ++----
>  meta/recipes-sato/images/core-image-sato-sdk.bb    |    8 +++-----
>  meta/recipes-sato/images/core-image-sato.bb        |    2 +-
>  6 files changed, 8 insertions(+), 16 deletions(-)
> 
> diff --git a/meta/classes/core-image.bbclass
> b/meta/classes/core-image.bbclass index f401313..d6dd646 100644
> --- a/meta/classes/core-image.bbclass
> +++ b/meta/classes/core-image.bbclass
> @@ -62,10 +62,6 @@ CORE_IMAGE_EXTRA_INSTALL ?= ""
> 
>  IMAGE_INSTALL ?= "${CORE_IMAGE_BASE_INSTALL}"
> 
> -X11_IMAGE_FEATURES  = "x11-base apps-x11-core package-management"
> -ENHANCED_IMAGE_FEATURES = "${X11_IMAGE_FEATURES} apps-x11-games
> package-management" -SATO_IMAGE_FEATURES = "${ENHANCED_IMAGE_FEATURES}
> x11-sato ssh-server-dropbear" -
>  inherit image
> 
>  # Create /etc/timestamp during image construction to give a reasonably sane
> default time setting diff --git
> a/meta/recipes-core/images/core-image-core.bb
> b/meta/recipes-core/images/core-image-core.bb index ed33e12..ea6ba7e 100644
> --- a/meta/recipes-core/images/core-image-core.bb
> +++ b/meta/recipes-core/images/core-image-core.bb
> @@ -1,7 +1,7 @@
>  DESCRIPTION = "An X11 image with simple applications such as terminal,
> editor, \ and file manager."
> 
> -IMAGE_FEATURES += "apps-console-core ${X11_IMAGE_FEATURES}"
> +IMAGE_FEATURES += "apps-console-core package-management x11-base
> apps-x11-core"
> 
>  LICENSE = "MIT"
> 
> diff --git a/meta/recipes-graphics/images/core-image-clutter.bb
> b/meta/recipes-graphics/images/core-image-clutter.bb index 6c49a02..aa6e2a2
> 100644
> --- a/meta/recipes-graphics/images/core-image-clutter.bb
> +++ b/meta/recipes-graphics/images/core-image-clutter.bb
> @@ -1,7 +1,7 @@
>  DESCRIPTION = "An image with support for the Open GL-based toolkit Clutter,
> \ which enables development of rich and animated graphical user
> interfaces."
> 
> -IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES}"
> +IMAGE_FEATURES += "apps-console-core package-management x11-base
> apps-x11-core apps-x11-games x11-sato ssh-server-dropbear"
> 
>  LICENSE = "MIT"
> 
> diff --git a/meta/recipes-sato/images/core-image-sato-dev.bb
> b/meta/recipes-sato/images/core-image-sato-dev.bb index 5ee9a04..b3db2e6
> 100644
> --- a/meta/recipes-sato/images/core-image-sato-dev.bb
> +++ b/meta/recipes-sato/images/core-image-sato-dev.bb
> @@ -2,8 +2,6 @@ DESCRIPTION = "Image with Sato for development work. It
> includes everything \ within core-image-sato plus a native toolchain,
> application development and \ testing libraries, profiling and debug
> symbols."
> 
> -IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES} dev-pkgs"
> +require core-image-sato.bb
> 
> -LICENSE = "MIT"
> -
> -inherit core-image
> +IMAGE_FEATURES += "dev-pkgs"
> diff --git a/meta/recipes-sato/images/core-image-sato-sdk.bb
> b/meta/recipes-sato/images/core-image-sato-sdk.bb index 18ed0cd..c462254
> 100644
> --- a/meta/recipes-sato/images/core-image-sato-sdk.bb
> +++ b/meta/recipes-sato/images/core-image-sato-sdk.bb
> @@ -2,12 +2,10 @@ DESCRIPTION = "Image with Sato support that includes
> everything within \ core-image-sato plus meta-toolchain, development
> headers and libraries to \ form a standalone SDK."
> 
> -IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES} dev-pkgs
> tools-sdk qt4-pkgs \ -	tools-debug tools-profile tools-testapps
> debug-tweaks ssh-server-openssh" -
> -LICENSE = "MIT"
> +require core-image-sato.bb
> 
> -inherit core-image
> +IMAGE_FEATURES += "dev-pkgs tools-sdk qt4-pkgs \
> +	tools-debug tools-profile tools-testapps debug-tweaks ssh-server-openssh"
> 
>  IMAGE_INSTALL += "kernel-dev"
> 

Hmm, the require line needs to be at the top here; I've pushed a fix to the 
branch for these two recipes.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



  reply	other threads:[~2012-09-03 13:27 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03 10:30 [PATCH 00/28] Package group fixes Paul Eggleton
2012-09-03 10:30 ` [PATCH 01/28] classes/core-image: remove SSHSERVER_IMAGE_FEATURES Paul Eggleton
2012-09-03 10:30 ` [PATCH 02/28] classes/core-image: remove *_IMAGE_FEATURES variables Paul Eggleton
2012-09-03 13:14   ` Paul Eggleton [this message]
2012-09-04  2:33   ` Saul Wold
2012-09-04  8:30     ` Paul Eggleton
2012-09-03 10:30 ` [PATCH 03/28] classes/core-image: remove erroneous nfs-server comment Paul Eggleton
2012-09-03 10:30 ` [PATCH 04/28] Rename task to packagegroup Paul Eggleton
2012-09-03 10:30 ` [PATCH 05/28] packagegroup-base: remove some useless items Paul Eggleton
2012-09-03 10:30 ` [PATCH 06/28] classes/packagegroup: Use package group nomenclature Paul Eggleton
2012-09-03 10:30 ` [PATCH 07/28] packagegroup-core-nfs: remove broken glibc-utils reference Paul Eggleton
2012-09-03 10:30 ` [PATCH 08/28] classes/packagegroup: add ability to disable complementary packages Paul Eggleton
2012-09-03 13:25   ` Paul Eggleton
2012-09-03 10:30 ` [PATCH 09/28] packagegroup-*: change to inherit from packagegroup.bbclass Paul Eggleton
2012-09-03 10:30 ` [PATCH 10/28] packagegroup-core-x11: move out Sato applications Paul Eggleton
2012-09-03 10:30 ` [PATCH 11/28] core-image-core: rename to core-image-x11 Paul Eggleton
2012-09-03 10:30 ` [PATCH 12/28] packagegroup-core-x11*: adjust X11 package groups Paul Eggleton
2012-09-03 10:30 ` [PATCH 13/28] packagegroup-qt4e: tidy up and rename Paul Eggleton
2012-09-03 10:30 ` [PATCH 14/28] packagegroup-core-gtk-directfb: remove superfluous -base package Paul Eggleton
2012-09-03 10:30 ` [PATCH 15/28] packagegroup-base: remove openswan from packagegroup-base-ipsec Paul Eggleton
2012-09-03 10:35   ` Phil Blundell
2012-09-03 10:37     ` Paul Eggleton
2012-09-03 10:50       ` Phil Blundell
2012-09-03 10:54         ` Paul Eggleton
2012-09-03 16:25           ` Koen Kooi
2012-09-03 16:34             ` Paul Eggleton
2012-09-04 10:33           ` Phil Blundell
2012-09-03 10:30 ` [PATCH 16/28] packagegroup-core-gtk-directfb: remove dropbear Paul Eggleton
2012-09-03 10:30 ` [PATCH 17/28] classes/packagegroup: disable superfluous tasks Paul Eggleton
2012-09-03 10:30 ` [PATCH 18/28] packagegroup-*: drop LIC_FILES_CHKSUM Paul Eggleton
2012-09-03 10:30 ` [PATCH 19/28] packagegroup-core-clutter: remove empty -apps/-tests tasks Paul Eggleton
2012-09-03 10:30 ` [PATCH 20/28] packagegroup-core-qt: rename -demos to -demoapps Paul Eggleton
2012-09-03 10:30 ` [PATCH 21/28] packagegroup-core-console: remove Paul Eggleton
2012-09-03 10:30 ` [PATCH 22/28] connman: add runtime dependency on dbus Paul Eggleton
2012-09-03 10:30 ` [PATCH 23/28] ofono: " Paul Eggleton
2012-09-03 10:30 ` [PATCH 24/28] packagegroup-*: set reasonable SUMMARY/DESCRIPTION Paul Eggleton
2012-09-03 10:30 ` [PATCH 25/28] packagegroup-core-basic: tidy up Paul Eggleton
2012-09-03 10:30 ` [PATCH 26/28] packagegroup-core-lsb: rework Paul Eggleton
2012-09-03 10:30 ` [PATCH 27/28] core-image-basic: tidy up Paul Eggleton
2012-09-03 10:30 ` [PATCH 28/28] packagegroup-*: add RPROVIDES for backwards compatibility Paul Eggleton
2012-09-03 10:39 ` [PATCH 00/28] Package group fixes Paul Eggleton
2012-09-03 16:26 ` Koen Kooi
2012-09-03 16:35   ` Paul Eggleton
2012-09-04  8:38     ` Koen Kooi
2012-09-04  8:45       ` Paul Eggleton
2012-09-04  9:46 ` Paul Eggleton
2012-09-04 12:36 ` Richard Purdie
2012-09-04 12:58 ` Martin Jansa
2012-09-04 13:09   ` Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3567012.7tNrQ3EpjS@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.