Merge lp:~salgado/linaro-image-tools/bug-701678 into lp:linaro-image-tools/11.11
Proposed by
Guilherme Salgado
Status: | Merged |
---|---|
Merged at revision: | 264 |
Proposed branch: | lp:~salgado/linaro-image-tools/bug-701678 |
Merge into: | lp:linaro-image-tools/11.11 |
Diff against target: |
72 lines (+16/-9) 2 files modified
linaro_media_create/partitions.py (+6/-6) linaro_media_create/tests/test_media_create.py (+10/-3) |
To merge this branch: | bzr merge lp:~salgado/linaro-image-tools/bug-701678 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Loïc Minier (community) | Approve | ||
James Westby (community) | Approve | ||
Review via email: mp+47688@code.launchpad.net |
Description of the change
Only ensure a partition is not mounted before running mkfs when we're burning an SD card.
That check is not necessary when we're writing an image file because there's nothing that would automount a loopback device that has just been setup.
Oh, and this will also get rid of the last remaining place using UDisks when creating an image file, hence fixing bug 705571.
To post a comment you must log in.
I like this one too. The error message will be very useful if someone
ever trips this, thanks.
James