Merge lp:~tom-gall/linaro-image-tools/linaro-media-create into lp:linaro-image-tools/11.11
Proposed by
Tom Gall
Status: | Superseded | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~tom-gall/linaro-image-tools/linaro-media-create | ||||
Merge into: | lp:linaro-image-tools/11.11 | ||||
Diff against target: |
64 lines (+18/-9) 1 file modified
linaro-media-create (+18/-9) |
||||
To merge this branch: | bzr merge lp:~tom-gall/linaro-image-tools/linaro-media-create | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Loïc Minier (community) | Disapprove | ||
Review via email: mp+33843@code.launchpad.net |
This proposal has been superseded by a proposal from 2010-08-27.
Description of the change
fixes lp:622979
Change correctly respects FAT_SIZE and replaces use of fdisk with sfdisk on MMC
To post a comment you must log in.
Hey
* ensure_command fdisk util-linux appears twice now
* you replace FDISK=$(fdisk ...) with FDISK=$(sfdisk ...); might make sense to rename, but it's ok in both cases
* duplicating the whole sudo sfdisk is a bit ugly; consider defining part_type=0xC or part_type=0xE, and using that in the here doc
* I'm pretty sure that 0xC is supported, since the Ubuntu ARM folks release images using 0xC; however you might have to ensure that mkfs.vfat is called with -F32 to generate a FAT32 if you actually use 0xC (which means the partition is expected to contain a FAT32); instead of supporting FAT16 and FAT32 in the script, I'd rather force FAT32 everywhere
Thanks,