diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-01-11 13:33:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-18 11:47:08 +0000 |
commit | 4339a822e34e00a49398fd5240bba3ecb530d631 (patch) | |
tree | 7a6604115f4b2699d39efa0ccb083e3b6b0b1fa4 /scripts/lib/wic | |
parent | d688df8567ad30b477e7b4843cd54a4647595652 (diff) | |
download | poky-4339a822e34e00a49398fd5240bba3ecb530d631.tar.gz |
wic/help.py: document requirements for valid fstab generation
Without one of the --ondrive, --ondisk or --use-uuid options for a
partition with a mountpoint specified the automatically generated
fstab entry will be invalid.
[YOCTO #8844]
(From OE-Core rev: a524ced19db05e776834cd1f1db03c68a05f9c0b)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic')
-rw-r--r-- | scripts/lib/wic/help.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py index be334e7814..f5587bbba7 100644 --- a/scripts/lib/wic/help.py +++ b/scripts/lib/wic/help.py | |||
@@ -629,6 +629,13 @@ DESCRIPTION | |||
629 | If a <mountpoint> is not specified the partition will be created | 629 | If a <mountpoint> is not specified the partition will be created |
630 | but will not be mounted. | 630 | but will not be mounted. |
631 | 631 | ||
632 | Partitions with a <mountpoint> specified will be automatically mounted. | ||
633 | This is achieved by wic adding entries to the fstab during image | ||
634 | generation. In order for a valid fstab to be generated one of the | ||
635 | --ondrive, --ondisk or --use-uuid partition options must be used for | ||
636 | each partition that specifies a mountpoint. | ||
637 | |||
638 | |||
632 | The following are supported 'part' options: | 639 | The following are supported 'part' options: |
633 | 640 | ||
634 | --size: The minimum partition size. Specify an integer value | 641 | --size: The minimum partition size. Specify an integer value |