]> code.ossystems Code Review - openembedded-core.git/commit
wic: Introduce --fsuuid and have --use-uuid make use of UUID too
authorTom Rini <trini@konsulko.com>
Thu, 14 Dec 2017 03:20:25 +0000 (22:20 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Dec 2017 18:00:25 +0000 (18:00 +0000)
commit9256b8799495634ee8aee5d16ff71bd6e6e25ed4
tree80b61e458104dd2f39ced102ac1fbaa24cd51f5f
parent7cdd4034b3e6ff4e13d491dfba24906afe495e2d
wic: Introduce --fsuuid and have --use-uuid make use of UUID too

First, allow for wic to be given a filesystem UUID to be used when
creating a filesystem.  When not provided, wic will generate the UUID to
be used.  Next, when --use-uuid is passed, we update the fstab to mount
things via UUID (and if not found, then use PARTUUID) as UUID is more
portable.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/help.py
scripts/lib/wic/ksparser.py
scripts/lib/wic/partition.py
scripts/lib/wic/plugins/imager/direct.py
scripts/lib/wic/plugins/source/bootimg-efi.py
scripts/lib/wic/plugins/source/bootimg-pcbios.py