diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-03-30 13:37:15 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-31 12:12:17 +0100 |
commit | 21af89a6d44ccea6aef975ffd2483a8fad1231de (patch) | |
tree | c1003333fc91d66a2e03afbfe1122a74310c60fb /scripts/lib/wic/plugins/imager | |
parent | cf06e6763d06e3e631bed85e2cb087f713808e6d (diff) | |
download | openembedded-core-21af89a6d44ccea6aef975ffd2483a8fad1231de.tar.gz openembedded-core-21af89a6d44ccea6aef975ffd2483a8fad1231de.tar.bz2 openembedded-core-21af89a6d44ccea6aef975ffd2483a8fad1231de.zip |
wic: allow only supported fstypes
Restricted possible values of --fstype to the list of
supported types. This should catch incorrect values
when .wks file is being parsed.
Removed checks for empty fstype and mentioning of
unsupported fstype 'ontrackdm6aux3'.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'scripts/lib/wic/plugins/imager')
-rw-r--r-- | scripts/lib/wic/plugins/imager/direct.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py index 67fd183670..79b948a739 100644 --- a/scripts/lib/wic/plugins/imager/direct.py +++ b/scripts/lib/wic/plugins/imager/direct.py @@ -487,8 +487,6 @@ class PartitionedImage(): parted_fs_type = "fat32" elif part.fstype == "msdos": parted_fs_type = "fat16" - elif part.fstype == "ontrackdm6aux3": - parted_fs_type = "ontrackdm6aux3" else: # Type for ext2/ext3/ext4/btrfs parted_fs_type = "ext2" |