diff options
author | Maciej Borzecki <maciej.borzecki@rndity.com> | 2016-07-12 13:37:25 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-20 10:28:47 +0100 |
commit | 45743114c8a541cf64745cdd4f9a05169a468a4c (patch) | |
tree | 4266ed951bbbe827567847a9f833ec2d66c2c7ea /scripts/lib/wic/ksparser.py | |
parent | 65a0c274833ac84953458547dd01d70bd881b6bb (diff) | |
download | poky-45743114c8a541cf64745cdd4f9a05169a468a4c.tar.gz |
wic: mountpoint is an optional argument
According to wic documentation partition mount point is an optional
argument. Skipping mount point also makes sense in certain
configurations when one needs to specify a partition that is not mounted
by the running system, such as a recovery or a mirror partition (in dual
rootfs setups).
(From OE-Core rev: 5e063a4c6bb0e0623a4d25bb2bf6eecd9ad6b9f1)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/ksparser.py')
-rw-r--r-- | scripts/lib/wic/ksparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py index 6887a7d024..0894e2b199 100644 --- a/scripts/lib/wic/ksparser.py +++ b/scripts/lib/wic/ksparser.py | |||
@@ -124,7 +124,7 @@ class KickStart(): | |||
124 | subparsers = parser.add_subparsers() | 124 | subparsers = parser.add_subparsers() |
125 | 125 | ||
126 | part = subparsers.add_parser('part') | 126 | part = subparsers.add_parser('part') |
127 | part.add_argument('mountpoint') | 127 | part.add_argument('mountpoint', nargs='?') |
128 | part.add_argument('--active', action='store_true') | 128 | part.add_argument('--active', action='store_true') |
129 | part.add_argument('--align', type=int) | 129 | part.add_argument('--align', type=int) |
130 | part.add_argument("--extra-space", type=sizetype, default=10*1024) | 130 | part.add_argument("--extra-space", type=sizetype, default=10*1024) |