On Mon, 2011-08-29 at 17:03 -0400, Jason Kridner wrote:
> >>>
> >>> This script is BSP specific and shouldn't live in the OE-core layer.
> >>
> >> The only issue is this script is used from within the IMAGE_CMD_sdimg
> >> code which lives in OE-core (meta/classes/image_types.
> >
> > classes shouldn't be calling external scripts
> >
> 
> Is the right approach to add parameters to the IMAGE_CMD_sdimg class
> such that it can be used generically to produce SD card images,
> instead of trying to move this to meta-ti?  Should it perhaps be a bit
> closer to what is being done by the Linaro image tools [1]?
> 
> [1] https://wiki.linaro.org/Source/ImageBuilding

I have heard multiple requests for making general SD card (or USB stick)
style images so I would love to see something generic. The script as it
stands looks like it has some issues due to requiring root access
(and/or special mounts).

There was a previous attempt at this in OE-Core:

http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/classes/boot-directdisk.bbclass

but this has some issues making assumptions about sector size that
caused problems. On the  plus side it demonstrated it was possible
without root...

Cheers,

Richard


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to