[meta-virtualization] RFC [PATCH] fix non-x86 xen-guest-image-minimal
christopher.w.clark at gmail.com
christopher.w.clark at gmail.com
Wed Sep 6 16:09:00 PDT 2017
From: Christopher Clark <christopher.w.clark at gmail.com>
This RFC patch aims to fix xen-guest-image-minimal for non-x86 builds,
whilst preserving compatibility with x86.
x11 package inclusion is optional for both x86 and non-x86.
Re: May 2017 thread:
"[meta-virtualization] [meta-xilinx] Trying to build xen-guest-image-minimal"
https://lists.yoctoproject.org/pipermail/meta-virtualization/2017-May/002556.html
Feedback would be appreciated, especially on:
1) Whether this addresses the needs of meta-xzd, enabling replacement of
xzd-domu-image-minimal.bb with a bbappend of this recipe.
2) The correctness of aspects of the patch:
* It switches to use IMAGE_FEATURES rather than DISTRO_FEATURES for
specifying the inclusion of x11 packages in the image; this seems more
correct for an image recipe.
DISTRO_FEATURES appears to default to x11 enabled, IMAGE_FEATURES does not.
* It introduces a bbappend for xserver-xorg to modify the default
Xserver configuration for non-x86 builds where DISTRO_FEATURES
includes 'xen', to drop dependencies on egl. In build tests, this has
simplified satisfying dependencies for building x11 for domU.
* Compatibility with Xilinx hardware profiles and software layers.
I have not verified this. I have build tested x86 with
MACHINE=genericx86-64 and ARM with MACHINE=cubietruck, using meta-sunxi.
Thanks for your interest and attention.
Christopher Clark (1):
xen-guest-image-minimal: Fix non-x86. Select x11 via IMAGE_FEATURES.
recipes-extended/images/xen-guest-image-minimal.bb | 16 +++++++++++++---
recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | 14 ++++++++++++++
2 files changed, 27 insertions(+), 3 deletions(-)
create mode 100644 recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
--
2.7.4
More information about the meta-virtualization
mailing list