[OE-core] [RFC oe-core] mkcard: Add a script to parition and format an SD Card

Graeme Gregory gg at slimlogic.co.uk
Tue Aug 30 09:36:10 UTC 2011


On 30/08/2011 10:31, Richard Purdie wrote:
> 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).
>
As the author again, its totally unsuitable and was never designed for
doing that.

Graeme





More information about the Openembedded-core mailing list