wic: ksparser: set default disk to 'sda'
Set default value of --ondisk to 'sda' to ensure we always have disk name for the partition. This is a first step of replacing --ondisk with disk <name> attribute of .wks. This is better as all partitions share the same disk. (From OE-Core rev: caa243a86ba50c676f8eb0a71440885a49f10cc4) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
93906fb830
commit
6d91c5f6f4
|
@ -136,7 +136,7 @@ class KickStart():
|
|||
part.add_argument('--fstype')
|
||||
part.add_argument('--label')
|
||||
part.add_argument('--no-table', action='store_true')
|
||||
part.add_argument('--ondisk', '--ondrive', dest='disk')
|
||||
part.add_argument('--ondisk', '--ondrive', dest='disk', default='sda')
|
||||
part.add_argument("--overhead-factor", type=overheadtype)
|
||||
part.add_argument('--part-type')
|
||||
part.add_argument('--rootfs-dir')
|
||||
|
|
Loading…
Reference in New Issue