mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 15:29:40 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
65a0c27483
commit
45743114c8
@@ -124,7 +124,7 @@ class KickStart():
|
||||
subparsers = parser.add_subparsers()
|
||||
|
||||
part = subparsers.add_parser('part')
|
||||
part.add_argument('mountpoint')
|
||||
part.add_argument('mountpoint', nargs='?')
|
||||
part.add_argument('--active', action='store_true')
|
||||
part.add_argument('--align', type=int)
|
||||
part.add_argument("--extra-space", type=sizetype, default=10*1024)
|
||||
|
||||
Reference in New Issue
Block a user