diff options
| author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-09 16:37:57 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:06:45 -0800 |
| commit | 6d91c5f6f43e71ea8a4b0ba3015dd450d41aaeff (patch) | |
| tree | 7b05454391faf344d5318c193c9fc1498228748c /scripts/lib/wic/ksparser.py | |
| parent | 93906fb830c3443b5dd65fc2a73f37893c28b2a4 (diff) | |
| download | poky-6d91c5f6f43e71ea8a4b0ba3015dd450d41aaeff.tar.gz | |
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>
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 f0aa5d0389..968b8e1312 100644 --- a/scripts/lib/wic/ksparser.py +++ b/scripts/lib/wic/ksparser.py | |||
| @@ -136,7 +136,7 @@ class KickStart(): | |||
| 136 | part.add_argument('--fstype') | 136 | part.add_argument('--fstype') |
| 137 | part.add_argument('--label') | 137 | part.add_argument('--label') |
| 138 | part.add_argument('--no-table', action='store_true') | 138 | part.add_argument('--no-table', action='store_true') |
| 139 | part.add_argument('--ondisk', '--ondrive', dest='disk') | 139 | part.add_argument('--ondisk', '--ondrive', dest='disk', default='sda') |
| 140 | part.add_argument("--overhead-factor", type=overheadtype) | 140 | part.add_argument("--overhead-factor", type=overheadtype) |
| 141 | part.add_argument('--part-type') | 141 | part.add_argument('--part-type') |
| 142 | part.add_argument('--rootfs-dir') | 142 | part.add_argument('--rootfs-dir') |
