Stop supporting direct partitioning of MMC

Bug #744449 reported by Loïc Minier
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linaro Image Tools
Won't Fix
Low
Unassigned

Bug Description

Hi

In bug #717129, we came to the conclusion that linaro-media-create would be much more robust if it systematically generated an image file and optionally wrote that to a real SD card instead of trying to partition SD cards on the fly; the latter causes some bad effects with some systems with certain USB readers and certain SD cards.

This would also allow simplifying the sfdisk_cmd code for root partition a bit.

One issue is how to resize the rootfs to the right size to fill the SD card. We could do this on boot on the target with packages like cloud-initramfs-growroot for instance.

Cheers,

Revision history for this message
Mattias Backman (mabac) wrote :

Loïc and Guilherme discussed this on irc last week, I'll try to summarize.

This change can be implemented as creating an image with a roughly calculated size, write it to SD and then resize to fit the card using parted. The proposed size for the initial image is
   (gzip -l on rootfs) + (100 MB per hwpack) + (some free space e.g. 200 MB)

Revision history for this message
Mattias Backman (mabac) wrote :

The proposed change would not easily allow for reusing parts of an existing card (now known as "merge mode") and the question was raised whether it is really needed.

I think the discussion ended with a user survey being a good idea, but no concrete plan for such a survey.

Fathi Boudra (fboudra)
Changed in linaro-image-tools:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Loïc Minier (lool) wrote :

This hits a lot of users and that's the only way we found to deal with writing directly to MMCs

NB: I think merge mode isn't a concern anymore

Changed in linaro-image-tools:
importance: Wishlist → Low
Revision history for this message
Loïc Minier (lool) wrote :

See also bug #866043

Revision history for this message
Alan Bennett (akbennett) wrote :

Due to the age of this issue, we are acknowledging that this issue will likely not be fixed, is no longer applicable, or was already fixed by an indirect change. If this issue is still important, please add details and reopen the issue.

Changed in linaro-image-tools:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.