[OE-core] [PATCH] wic/help.py: document that mountpoint is optional for part command

Joshua Lock joshua.lock at collabora.co.uk
Thu Dec 17 12:02:28 UTC 2015


If no mountpoint is specified for a partition command the partition
will be created but not mounted — mention this in the kickstart
help text.

[YOCTO #8820]

Signed-off-by: Joshua Lock <joshua.lock at collabora.co.uk>
---
 scripts/lib/wic/help.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py
index 89fb7be..be334e7 100644
--- a/scripts/lib/wic/help.py
+++ b/scripts/lib/wic/help.py
@@ -617,7 +617,7 @@ DESCRIPTION
        This command creates a partition on the system and uses the
        following syntax:
 
-         part <mountpoint>
+         part [<mountpoint>]
 
        The <mountpoint> is where the partition will be mounted and
        must take of one of the following forms:
@@ -626,6 +626,9 @@ DESCRIPTION
 
          swap: The partition will be used as swap space.
 
+       If a <mountpoint> is not specified the partition will be created
+       but will not be mounted.
+
        The following are supported 'part' options:
 
          --size: The minimum partition size. Specify an integer value
-- 
2.5.0




More information about the Openembedded-core mailing list