[OE-core] [PATCH 0/3] wic: Further enhance UUID / fstab support

Tom Rini trini at konsulko.com
Thu Nov 9 01:53:29 UTC 2017


Hey all,

So, per Ed's feedback on my first series, I went and spent some time
trying to figure out how to have wic know what the UUID would be when
updating the fstab.  It turns out the easiest answer here is to have WIC
make the UUID.  Per Otavio's concern last time, I also make sure that
the filesystem UUID can be passed in, for reproducibility.  One thing to
keep in mind here is that FAT filesystem UUIDs are a bit funny to deal
with as mkfs.vfat / mkdosfs / etc want to be given a 32bit hexadecimal
value.  But when we talk mount, it must be split and it must be in
uppercase.  To make the rest of the code easier I'm encoding the '0x'
portion into part.fsuuid rather than doing "-i 0x%s" in a bunch of
places.

While preparing all of this, I found a few minor things such as we did
not test for squashfs and --use-uuid (not supported) and an incorrect
comment around the btrfs support.

Finally, Ed asked for oe-selftest support, and I agree.  So please don't
merge this until I follow up with that.  It is on my list but I want
feedback on this side of things while I'm doing the testing side.
Thanks!

-- 
Tom



More information about the Openembedded-core mailing list