Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [CONSOLIDATED PULL 14/28] Add new IMAGE_CLASSES variable for classes for image generation
Date: Mon, 07 Nov 2011 14:04:13 +0000	[thread overview]
Message-ID: <1320674653.23708.11.camel@ted> (raw)
In-Reply-To: <8e793bb4092c80baf441a33f348852bfbd4a4420.1320513631.git.sgw@linux.intel.com>

On Sat, 2011-11-05 at 10:22 -0700, Saul Wold wrote:
> From: Matthew McClintock <msm@freescale.com>
> 
> Allows us to import classes only for images and not to the global
> namespace
> 
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
>  meta/classes/image.bbclass  |    3 ++-
>  meta/conf/local.conf.sample |    6 ++++++
>  2 files changed, 8 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index 05f4331..a2770a4 100644
> --- a/meta/classes/image.bbclass
> +++ b/meta/classes/image.bbclass
> @@ -111,7 +111,8 @@ def get_devtable_list(d):
>          str += " %s" % bb.which(bb.data.getVar('BBPATH', d, 1), devtable)
>      return str
>  
> -inherit image_types
> +IMAGE_CLASSES ?= "image_types"
> +inherit ${IMAGE_CLASSES}
>  
>  IMAGE_POSTPROCESS_COMMAND ?= ""
>  MACHINE_POSTPROCESS_COMMAND ?= ""
> diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
> index 73ab9f8..aa546c7 100644
> --- a/meta/conf/local.conf.sample
> +++ b/meta/conf/local.conf.sample
> @@ -141,6 +141,12 @@ EXTRA_IMAGE_FEATURES = "debug-tweaks"
>  # NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended
>  USER_CLASSES ?= "image-mklibs image-prelink"
>  
> +# Additional image generation features
> +#
> +# The following is a list of classes to import to use in the generation of images
> +# currently an example class is image_types_uboot
> +# IMAGE_CLASSES = " image_types_uboot"
> +

Most initial new users don't need to see this. Can we place this into
local.conf.sample.extended please?

Cheers,

Richard




  reply	other threads:[~2011-11-07 14:10 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-05 17:22 [CONSOLIDATED PULL 00/28] Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 01/28] bash: Ensure we fully reautoconf the recipes so site data is used Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 02/28] patch: Convert to use oe_terminal Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 03/28] bitbake.conf: Drop remaining TERMCMD pieces and document OE_TERMINAL usage instead Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 04/28] cogl: COPYING file Updated FSF Address Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 05/28] dtc: update to latest git version Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 06/28] qmmp: update to 0.5.2 Saul Wold
2011-11-05 17:50   ` Koen Kooi
2011-11-05 17:22 ` [CONSOLIDATED PULL 07/28] dtc: Add patch to correctly install shared libraries and links Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 08/28] qmmp: Fix qmmp packaging, ensure lowercase package names Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 09/28] buildstats: Fix for buildstats on tmpfs Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 10/28] udev-164: Update init script to do an explicit add action Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 11/28] tslib: fix the bug with loading libts-1.0.so Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 12/28] libcense.bbclass: fix OpenSSL mapping Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 13/28] image_types bbclass: use 4k bytes per inode so we don't run out of space immediately Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 14/28] Add new IMAGE_CLASSES variable for classes for image generation Saul Wold
2011-11-07 14:04   ` Richard Purdie [this message]
2011-11-07 20:16     ` McClintock Matthew-B29882
2011-11-05 17:22 ` [CONSOLIDATED PULL 15/28] distro_tracking_fields: updates for sudo, mtools, grep, and openssh Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 16/28] python: improve packaging Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 17/28] connman 0.75: bump PR for iptables library change Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 18/28] iproute2: update to 3.0.0 to fix build with updated iptables Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 19/28] libnl-2.0: move fix-pktloc_syntax_h-race.patch to libnl-2.0 subdirectory and merge with fix-makefile.patch Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 20/28] libnl-2.0: add patch from meta-openembedded to fix pkg-config file Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 21/28] libnl-2.0: split to more packages, as meta-openembedded does Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 22/28] libnl-2.0: add PE/PR bump for upgradable patch for meta-openembedded users Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 23/28] linux-yocto_3.0: update base to v3.0.8 + meta config changes Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 24/28] fotowall: disable videocapture since we do not have a webcam Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 25/28] allarch.bbclass: disable shlib and debug symbol processing Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 26/28] core-image-minimal-initramfs: force IMAGE_FSTYPES Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 27/28] qemugl: switch to new git repo Saul Wold
2011-11-05 17:22 ` [CONSOLIDATED PULL 28/28] lighttpd 1.4.29: rename index.html to avoid clashes with DL_DIR Saul Wold
2011-11-07 14:07 ` [CONSOLIDATED PULL 00/28] Richard Purdie

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=1320674653.23708.11.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox