When creating an image, there is the possibility that the image will be deployed on a SD card, rather than on a USB stick or HDD. UUIDs are the only way to produce an image that will be not affected by the target media. The alternative is to manage separately the creation of different images, one which will use /dev/sd... and one which will use /dev/mmcblk... This is sub-optimal and prevents various cases, for example the verification of exactly the same binary on different media.
Passed to Ed.
Started to work on this.
3 related patchsets are under review now: [OE-core] [wic][PATCH 0/7] wic: Fixed support of GPT partition table http://lists.openembedded.org/pipermail/openembedded-core/2015-June/105561.html [OE-core] [wic][PATCH 0/4] Code cleanup and refactoring http://lists.openembedded.org/pipermail/openembedded-core/2015-June/105737.html [OE-core] [wic][PATCH v2 0/9] UUID support http://lists.openembedded.org/pipermail/openembedded-core/2015-June/105759.html Please help to review them.
Resolved by this patchset: http://lists.openembedded.org/pipermail/openembedded-core/2015-June/105759.html It should be in oe-core master now.
(oe-core b812d0f40423bc56394cc8b6fc92eb1f477dba1b)
Verified on master: ea562de57590c966cd5a75fda8defecd397e6436 There is also an automated testcase: https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=1157