summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/ksparser.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-07-06 14:32:33 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-21 22:51:38 +0100
commit9f481f5ac9b392c7178955756bdaf11cdd76e0c6 (patch)
treed785dbbb281999fa8878fea69398112c1ad231b8 /scripts/lib/wic/ksparser.py
parentfedac61ad973981b824a2c79ffc9feaa6d754dba (diff)
downloadpoky-9f481f5ac9b392c7178955756bdaf11cdd76e0c6.tar.gz
wic: implement wks option --mkfs-extraopts
This option specifies extra options to pass to mkfs.<fstype> utilities. [YOCTO #11709] (From OE-Core rev: 67b7c67edba305fbd31967baa10d27c2e603ec77) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.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.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py
index 47afda43ce..99b66eebc5 100644
--- a/scripts/lib/wic/ksparser.py
+++ b/scripts/lib/wic/ksparser.py
@@ -139,6 +139,7 @@ class KickStart():
139 part.add_argument('--fstype', default='vfat', 139 part.add_argument('--fstype', default='vfat',
140 choices=('ext2', 'ext3', 'ext4', 'btrfs', 140 choices=('ext2', 'ext3', 'ext4', 'btrfs',
141 'squashfs', 'vfat', 'msdos', 'swap')) 141 'squashfs', 'vfat', 'msdos', 'swap'))
142 part.add_argument('--mkfs-extraopts', default='')
142 part.add_argument('--label') 143 part.add_argument('--label')
143 part.add_argument('--no-table', action='store_true') 144 part.add_argument('--no-table', action='store_true')
144 part.add_argument('--ondisk', '--ondrive', dest='disk', default='sda') 145 part.add_argument('--ondisk', '--ondrive', dest='disk', default='sda')