[meta-ti] has anyone actually tested sdcard_image.bbclass?

Chris Larson clarson at kergoth.com
Fri Jan 11 07:47:29 PST 2013


On Fri, Jan 11, 2013 at 5:02 AM, Robert P. J. Day <rpjday at crashcourse.ca>wrote:

> IMAGE_CLASSES += "sdcard_image"
>
> but after i do that:
>
> $ bitbake-env -r core-image-minimal IMAGE_CLASSES IMAGE_FSTYPES
> Parsing recipes..ERROR: Error executing a python function in <code>:
> NameError: global name 'imagetypes_getdepends' is not defined
> ... huge snip here ...
>

image.bbclass defines the default IMAGE_CLASSES using ?=. Which means if
your distro doesn't define its own default value, you'll end up with
IMAGE_CLASSES only containing sdcard_image, not both image_types and
sdcard_image, and clearly both are required.
-- 
Christopher Larson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20130111/7bae5b38/attachment.html>


More information about the meta-ti mailing list