[OE-core] [PATCH 1/2] wic: When using --use-uuid make sure that we update the fstab with PARTUUID

Tom Rini trini at konsulko.com
Tue Oct 10 21:01:49 UTC 2017


On Thu, Sep 21, 2017 at 01:46:16PM -0400, Tom Rini wrote:
> When we have been told to use the UUID we should also update the fstab
> to make use of PARTUUID instead of hard-coding the device in question.
> This will make the resulting image much more portable.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  scripts/lib/wic/plugins/imager/direct.py | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)

Where we did we end up with this?  Ed pointed out that you can tell wic
to use a specific UUID, so reproducible images are not a problem.  And
making images that are readily portable is why other distros use
UUID/LABEL and not device names as much as possible.  I personally enjoy
being able to put an image on uSD for minnow and have it work :)
Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171010/bc5733fb/attachment-0002.sig>


More information about the Openembedded-core mailing list