All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: Yocto Project <yocto@yoctoproject.org>
Subject: Re: [PATCH 5/9] task-core-boot: Allow DISTRO to disable keymaps
Date: Wed, 21 Dec 2011 08:01:16 -0800	[thread overview]
Message-ID: <4EF202CC.6090708@linux.intel.com> (raw)
In-Reply-To: <20111221100909.GD12791@jama.jama.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 12/21/2011 02:09 AM, Martin Jansa wrote:
> On Wed, Dec 21, 2011 at 01:02:51AM -0800, Darren Hart wrote:
>> NOTE: I'm looking for a better way to do this.
>> 
>> keymaps pulls in gettext, which can't build without wide
>> character support.
>> 
>> Rather than have to add a -tiny variant of every MACHINE to drop
>> "keyboard" from the MACHINE_FEATURES, just enable the DISTRO to
>> define what gets added to RDEPENDS_task-core-boot when
>> MACHINE_FEATURES includes keyboard. By default, keep "keymaps",
>> but use DISTRO_KEYMAPS if it is set (to "" for example).
>> 
>> Signed-off-by: Darren Hart <dvhart@linux.intel.com> --- 
>> meta/recipes-core/tasks/task-core-boot.bb |    7 ++++++- 1 files
>> changed, 6 insertions(+), 1 deletions(-)
>> 
>> diff --git a/meta/recipes-core/tasks/task-core-boot.bb
>> b/meta/recipes-core/tasks/task-core-boot.bb index
>> 05c280d..e097836 100644 ---
>> a/meta/recipes-core/tasks/task-core-boot.bb +++
>> b/meta/recipes-core/tasks/task-core-boot.bb @@ -17,6 +17,11 @@ PR
>> = "r9" MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" 
>> MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
>> 
>> +# +# Set by the distro configuration to empty if not supported 
>> +# +DISTRO_KEYMAPS ?= "keymaps"
> 
> Why not VIRTUAL-RUNTIME_keymaps like everywhere else?

That's an option. The term VIRTUAL-RUNTIME didn't seem to apply as
well to keymaps for me. Also, I felt that this was really a hack in
the wrong place that need a solution involving MACHINE_FEATURES.
Unfortunately I can't use oe_core_filter_out in the distro config file
and I'd prefer not to have to create machine config variants for every
- -tiny supported machine.

It could be a new task-core-tiny is the right fix (this is what I did
in my prototype meta-tiny layer), but I'd rather not have to add
another task-core* if it can be avoided.

- --
Darren

> 
> Cheers,
> 
>> + # Distro can override dev_manager provider 
>> VIRTUAL-RUNTIME_dev_manager ?= "udev" # Distro can override
>> login_manager provider @@ -37,7 +42,7 @@ RDEPENDS_task-core-boot
>> = "\ base-passwd \ busybox \ ${VIRTUAL-RUNTIME_initscripts} \ -
>> ${@base_contains("MACHINE_FEATURES", "keyboard", "keymaps", "",
>> d)} \ +    ${@base_contains("MACHINE_FEATURES", "keyboard",
>> "${DISTRO_KEYMAPS}", "", d)} \ modutils-initscripts \ netbase \ 
>> ${VIRTUAL-RUNTIME_login_manager} \ -- 1.7.6.4
>> 
>> _______________________________________________ yocto mailing
>> list yocto@yoctoproject.org 
>> https://lists.yoctoproject.org/listinfo/yocto
> 

- -- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJO8gLMAAoJEKbMaAwKp3642YkIAJdCxx7ySWjzzpC2+wT3GHEq
8CQ2j3C71gPVx/jYs6NxFNxVc/2b1V8WjgVB8y4RNtKwpY3Kn8aw7FGBqPW0fPsT
8hB58lCq6ziQlwWqjTQumi0zubRBuWlCt/rs4I/iJwtWQuNdTBAiWy5DdsEdAtv9
ou2GhGYRyPOKaGeD/2Inw3NQQh/CvcAZDRylU++c29Uo+f8b7jNvdclgS4bdK7It
RKNpj9l24K892BVVCJNHSqV1NHlq9MZhZwA9Earp6gRmpwz0Ra+CqXuarLenqjrA
NPppibL4wodNHe0Tx6qCjm7zG7pPiAu7VmjC2OOUAn6ToM+nePP7sS/IHitnsmQ=
=fTlx
-----END PGP SIGNATURE-----


  parent reply	other threads:[~2011-12-21 16:01 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21  9:02 [RFC PATCH 0/9] New distribution definition for poky-tiny Darren Hart
2011-12-21  9:02 ` [PATCH 1/9] native.bbclass: Fix variable remapping coverage Darren Hart
2011-12-21  9:02 ` [PATCH 2/9] ncurses: Allow override of ENABLE_WIDEC Darren Hart
2011-12-21  9:02 ` [PATCH 3/9] eglibc: Only add eglibc-utils to PACKAGES if wchar is supported Darren Hart
2011-12-21  9:02 ` [PATCH 4/9] linux-yocto-tiny: New kernel recipe for poky-tiny distro (INCOMPLETE) Darren Hart
2011-12-21 14:56   ` Bruce Ashfield
2011-12-21 15:52     ` Darren Hart
2011-12-21 15:56       ` Bruce Ashfield
2011-12-21 16:02         ` Darren Hart
2011-12-21 16:04           ` Bruce Ashfield
2011-12-21  9:02 ` [PATCH 5/9] task-core-boot: Allow DISTRO to disable keymaps Darren Hart
2011-12-21 10:09   ` Martin Jansa
2011-12-21 13:19     ` [yocto] " Koen Kooi
2011-12-21 13:19       ` Koen Kooi
2011-12-21 15:57       ` [yocto] " Darren Hart
2011-12-21 15:57         ` Darren Hart
2011-12-21 16:01     ` Darren Hart [this message]
2011-12-21 16:13       ` Martin Jansa
2011-12-21  9:02 ` [PATCH 6/9] distro: Factor out poky-common.inc from poky.conf Darren Hart
2011-12-21 16:28   ` Richard Purdie
2011-12-21 16:47     ` Darren Hart
2011-12-21 17:02       ` Darren Hart
2011-12-21 17:31         ` Richard Purdie
2011-12-21 17:57           ` Darren Hart
2011-12-21  9:02 ` [PATCH 7/9] distro: Add poky-tiny distro definition Darren Hart
2011-12-21  9:02 ` [PATCH 8/9] license: Fix manifest conditional Darren Hart
2011-12-21  9:02 ` [PATCH 9/9] image_types: Ensure /init exists for cpio rootfs archives Darren Hart
2011-12-21 15:52 ` [RFC PATCH 0/9] New distribution definition for poky-tiny Chris Larson
2011-12-21 16:10   ` Darren Hart
2011-12-21 17:33     ` Chris Larson
2011-12-21 17:48       ` Darren Hart
2011-12-28  0:50       ` McClintock Matthew-B29882

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=4EF202CC.6090708@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=martin.jansa@gmail.com \
    --cc=yocto@yoctoproject.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.