[OE-core] [PATCH] bootimg-efi.py: Use IMGDEPLOYDIR instead of DEPLOY_DIR_IMAGE for initrd

Ed Bartosh ed.bartosh at linux.intel.com
Mon Jul 3 12:44:24 UTC 2017


On Mon, Jul 03, 2017 at 11:27:53AM +0200, Patrick Ohly wrote:
> On Mon, 2017-07-03 at 11:36 +0300, Ed Bartosh wrote:
> > On Fri, Jun 30, 2017 at 10:53:30AM -0700, Alejandro Hernandez wrote:
> > > When using wic to create an image from a certain build, wic is expecting
> > > to find initrd at the final destination of our images (DEPLOY_DIR_IMAGE),
> > > which is wrong, since the initrd file has not been copied to the final
> > > directory yet,
> > 
> > Is it possible to ensure that initrd is deployed before wic is run by
> > making do_image_wic depend on initrd deploy task?
> 
> Not in this case, because both do_image_wic and do_image_cpio share the
> same deploy task.

Now I understand what's going on here. Basically Alejandro is trying to
use one format of the same image in another. It's like trying to put
.wic image inside ext2 image or something similar.

I believe it doesn't fit current design of oe image creation system.
I'd suggest to use different image recipes to achieve this.

--
Regards,
Ed



More information about the Openembedded-core mailing list