On 1/21/16 10:05 AM, Chris Patterson wrote: > On Thu, Jan 21, 2016 at 10:05 AM, McGillion, Brian > <[email protected]> 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'"
fi
}
addtask check_xen_state before do_rootfs
I can submit a patch.
--
Doug Goldstein
signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
