[poky] post-image-creation postinsts

Richard Purdie richard.purdie at linuxfoundation.org
Tue May 3 16:15:35 PDT 2011


On Tue, 2011-05-03 at 19:01 -0400, Colin Walters wrote:
> On Tue, May 3, 2011 at 6:36 AM, Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
> >
> >> It seems to me we could add some mechanism for mounting the image
> >> filesystem and running a script in there (guestfs?), or maybe an
> >> automated QEMU boot, run the postinsts, and sync/shutdown?
> >>
> > force the script to run on the target device. If there is a way to run
> > this at image generation time (cross safe), tell us what it is and we
> > can make it happen at image generation time!
> 
> See the bit I quoted from my original mail.  I think the most general
> solution is simply "run qemu, then shutdown", and I can look at
> automating this inside OE, but was just curious if anyone had any
> better ideas.
> 
> Would a patch to do this by default for image.bbclass make sense?

Well, we've been trying to remove the dependencies on qemu rather than
add them. I'm still not convinced we need qemu for all these cases...

Cheers,

Richard




More information about the poky mailing list