From: Gui Chen Date: Thu, 7 Jun 2012 06:01:51 +0000 (+0800) Subject: fix mic ch raw failed issue X-Git-Tag: 0.11~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ceb70ba97a3a3c9ebabb39a2750d666645c89b65;p=platform%2Fupstream%2Fmic.git fix mic ch raw failed issue Signed-off-by: Gui Chen --- diff --git a/mic/imager/raw.py b/mic/imager/raw.py index b7b7686..68b138d 100644 --- a/mic/imager/raw.py +++ b/mic/imager/raw.py @@ -197,7 +197,7 @@ class RawImageCreator(BaseImageCreator): self.__instloop = PartitionedMount(self.__disks, self._instroot) - for p in parts: + for p in sorted(parts, key=lambda p: p.mountpoint): self.__instloop.add_partition(int(p.size), p.disk, p.mountpoint,