Bug 7716 - wic should support UUIDs
Summary: wic should support UUIDs
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.8.1
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.9
Assignee: Ed Bartosh
QA Contact: Daniel Istrate
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-05-05 08:24 UTC by Igor Stoppa
Modified: 2015-09-15 13:59 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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