Bug 7716

Summary: wic should support UUIDs
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Igor Stoppa <igor.stoppa>
Component: devtools / tool chainAssignee: Ed Bartosh <eduard.bartosh>
Status: VERIFIED FIXED QA Contact: Daniel Istrate <daniel.alexandrux.istrate>
Severity: enhancement    
Priority: Medium CC: alexander.kanevskiy, bluelightning, bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher, ross.burton, sgw
Version: 1.8.1   
Target Milestone: 1.9   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Igor Stoppa 2015-05-05 08:24:57 UTC
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.
Comment 1 Igor Stoppa 2015-05-05 08:26:00 UTC
Passed to Ed.
Comment 2 Ed Bartosh 2015-05-21 17:52:44 UTC
Started to work on this.
Comment 3 Ed Bartosh 2015-06-05 09:16:55 UTC
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.
Comment 4 Ed Bartosh 2015-06-16 08:56:36 UTC
Resolved by this patchset: http://lists.openembedded.org/pipermail/openembedded-core/2015-June/105759.html

It should be in oe-core master now.
Comment 5 Ross Burton 2015-06-16 09:26:40 UTC
(oe-core b812d0f40423bc56394cc8b6fc92eb1f477dba1b)
Comment 6 Daniel Istrate 2015-09-15 13:59:31 UTC
Verified on master: ea562de57590c966cd5a75fda8defecd397e6436
There is also an automated testcase: https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=1157