Stop supporting direct partitioning of MMC
Bug #744449 reported by
Loïc Minier
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
Cheers,
Changed in linaro-image-tools: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
To post a comment you must log in.
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)