[meta-virtualization] Failure to build xen-image-minimal

Doug Goldstein cardoe at cardoe.com
Fri Jan 22 17:09:36 PST 2016

On 1/21/16 10:05 AM, Chris Patterson wrote:
> On Thu, Jan 21, 2016 at 10:05 AM, McGillion, Brian
> <brian.mcgillion at intel.com> wrote:
>> Hi Chris,
>> Thank you, that was it!
>> In general should that config not be part of the xen-minimal-image recipe?
> The DISTRO_FEATURES is more of a "global" variable and the scope of
> xen-minimal-image is not sufficient to get what you need (in this
> case, affect linux-yocto).
> Perhaps we should document in the README?

I was thinking we can do something like...

do_check_xen_state() {
    if [ "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' yes', 'no',
d)}" = "no" ]; then
        die "DISTRO_FEATURES does not contain 'xen'"

addtask check_xen_state before do_rootfs

I can submit a patch.

Doug Goldstein

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 959 bytes
Desc: OpenPGP digital signature
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20160122/3f22309b/attachment.pgp>

More information about the meta-virtualization mailing list