[poky] building images

Joshua Lock josh at linux.intel.com
Thu Apr 28 14:18:57 PDT 2011


Hi Michael,

On Wed, 2011-04-27 at 11:40 -0700, C Michael Sundius wrote:
> I'm wondering if when bitbake builds an image, that is to say if all
> the necessary package recipes have already been completely built, if
> just when creating the image, does bitbake make use of the
> staging/sysroot directory at all? or does it only install packages and
> run some scripts for pre and post processing of the image?.... 

There was some work to support this, you can see the
BUILD_IMAGES_FROM_FEEDS variable used in the rootfs_ipk.bbclass and
rootfs_rpm.bbclass.

I'm not sure how tested this is but the basics of the infrastructure is
there. There's even a graphical tool (puccho, run with 'bitbake -u
puccho') that was developed to provide a UI to the BUILD_FROM_FEEDS
infrastructure.

Once again, not my code but sounds like we have at least a start to the
functionality you're looking for.

<snip>

> My problem is that some of our customers will not adopt OE for
> developing applications. (I think they should, but we just can't
> guarantee that they will, nor do I think we should force them). 
> 
> 
> If we provide:
> 
> 
> 1) an SDK that includes:
> - all of our interfaces,
> - all of our utilities and branding info
> - the tool chain,
> - some or all the other native utilities (or maybe just take chances
> that the build host is not Fedora Core 3!)

You can easily build your customers a "native-tools" tarball, look at
the meta/recipes-core/meta/external-python-tarball.bb recipe for how
Richard enabled users without Python 2.6 to use Poky.

Hope this helps,
Joshua

-- 
Joshua Lock
        Yocto Build System Monkey
        Intel Open Source Technology Center




More information about the poky mailing list