mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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. (From OE-Core rev: 9256b8799495634ee8aee5d16ff71bd6e6e25ed4) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -863,7 +863,10 @@ DESCRIPTION
|
||||
This is achieved by wic adding entries to the fstab during image
|
||||
generation. In order for a valid fstab to be generated one of the
|
||||
--ondrive, --ondisk or --use-uuid partition options must be used for
|
||||
each partition that specifies a mountpoint.
|
||||
each partition that specifies a mountpoint. Note that with --use-uuid
|
||||
and non-root <mountpoint>, including swap, the mount program must
|
||||
understand the PARTUUID syntax. This currently excludes the busybox
|
||||
versions of these applications.
|
||||
|
||||
|
||||
The following are supported 'part' options:
|
||||
@@ -986,6 +989,11 @@ DESCRIPTION
|
||||
in bootloader configuration before running wic. In this case .wks file can
|
||||
be generated or modified to set preconfigured parition UUID using this option.
|
||||
|
||||
--fsuuid: This option is specific to wic. It specifies filesystem UUID.
|
||||
It's useful if preconfigured filesystem UUID is added to kernel command line
|
||||
in bootloader configuration before running wic. In this case .wks file can
|
||||
be generated or modified to set preconfigured filesystem UUID using this option.
|
||||
|
||||
--system-id: This option is specific to wic. It specifies partition system id. It's useful
|
||||
for the harware that requires non-default partition system ids. The parameter
|
||||
in one byte long hex number either with 0x prefix or without it.
|
||||
|
||||
Reference in New Issue
Block a user