[meta-intel] [PATCH 2/3] crownbay.conf: add EMGD VA components to VA_FEATURES var

Tom Zanussi tom.zanussi at intel.com
Wed Dec 19 18:23:20 PST 2012


On Wed, 2012-12-19 at 11:38 -0800, nitin.a.kamble at intel.com wrote:
> From: Nitin A Kamble <nitin.a.kamble at intel.com>
> 
> These EMGD subpackages:
>   emgd-driver-video
>   emgd-gst-plugins-va-0.10.10
>   emgd-gst-plugins-mixvideo-0.10.34
> provide video acceleration and have dependency on libva and libx11. Include
> these in the VA_FEATURES variable only when Xserver with EMGD driver is part
> of the image.
>   For Images such as core-image-lsb which do not include X components,
> including any of these emgd subpackages will pull unwanted X components.
> 
> This fixes bug:
> [YOCTO #3507]

Hmm, I'm still getting the error:

| Computing transaction...error: Can't install
emgd-driver-1.14-r6 at core2: no package provides xorg-abi-video-8
| 
| Saving cache...
| 
| ERROR: Function failed: do_rootfs
(see /usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-linux/core-image-lsb/1.0-r0/temp/log.do_rootfs.9780 for further information)
ERROR: Task 7
(/usr/local/dev/yocto/nitin-test/meta/recipes-extended/images/core-image-lsb.bb, do_rootfs) failed with exit code '1'

Tom

poky/master: a1684001db2530ed66bbfd94ce8b075bba3737f5
meta-intel/master: 4122c514a22442a58b2f99e4ba9617ff219b3089 + these 3
commits.

> 
> Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
> ---
>  meta-crownbay/conf/machine/crownbay.conf |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/meta-crownbay/conf/machine/crownbay.conf b/meta-crownbay/conf/machine/crownbay.conf
> index 1fd9fe8..0e10e76 100644
> --- a/meta-crownbay/conf/machine/crownbay.conf
> +++ b/meta-crownbay/conf/machine/crownbay.conf
> @@ -25,6 +25,10 @@ PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
>  
>  APPEND += "video=vesafb vga=0x318 vmalloc=256MB"
>  
> -VA_FEATURES ?= "gst-va-intel va-intel"
> +# Some of the EMGD components have dependency on libx11.
> +# Add these only when Xserver is enabled with the EMGD driver
> +# Otherwise unwanted X components will start showing up in the non-X images
> +VA_FEATURES ?= "gst-va-intel va-intel \
> +                ${@bb.utils.contains("XSERVER", "emgd-driver-bin", "emgd-driver-video emgd-gst-plugins-va-0.10.10 emgd-gst-plugins-mixvideo-0.10.34", "", d)}"
>  
>  MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES}"





More information about the meta-intel mailing list