[OE-core] [PATCH 19/20] udev: Disable keymap support on machines lacking keyboard support
Martin Jansa
martin.jansa at gmail.com
Mon Aug 4 19:41:59 UTC 2014
On Mon, Aug 04, 2014 at 01:41:11PM -0500, Ben Shelton wrote:
> From: Richard Tollerton <rich.tollerton at ni.com>
>
> /lib/udev/keymaps/ is 244k. On headless machines, this is wasted space.
>
> Natinst-Rally-ID: TA44427
> Acked-by: Gratian Crisan <gratian.crisan at ni.com>
> Natinst-ReviewBoard-ID: 58621
> Signed-off-by: Richard Tollerton <rich.tollerton at ni.com>
> ---
> meta/recipes-core/udev/udev.inc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
> index 8394064..2d2150c 100644
> --- a/meta/recipes-core/udev/udev.inc
> +++ b/meta/recipes-core/udev/udev.inc
> @@ -51,6 +51,7 @@ EXTRA_OECONF = "--disable-introspection \
> --with-rootlibdir=${base_libdir} \
> --with-rootprefix= \
> --without-systemdsystemunitdir \
> + ${@base_contains('MACHINE_FEATURES', 'keyboard', '', '--disable-keymap', d)} \
udev isn't MACHINE_ARCH, so you cannot use MACHINE_FEATURES there.
But you can add PACKAGECONFIG and let DISTRO decide if all supported
MACHINEs are headless, it can disable it.
> "
>
> PACKAGES =+ "udev-cache"
> --
> 2.0.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140804/f5de096d/attachment-0002.sig>
More information about the Openembedded-core
mailing list