summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/partition.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/partition.py')
-rw-r--r--scripts/lib/wic/partition.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py
index 382afa44bc..29b9dc4457 100644
--- a/scripts/lib/wic/partition.py
+++ b/scripts/lib/wic/partition.py
@@ -133,7 +133,7 @@ class Partition():
133 self.update_fstab_in_rootfs = True 133 self.update_fstab_in_rootfs = True
134 134
135 if not self.source: 135 if not self.source:
136 if self.fstype == "none": 136 if self.fstype == "none" or self.no_table:
137 return 137 return
138 if not self.size and not self.fixed_size: 138 if not self.size and not self.fixed_size:
139 raise WicError("The %s partition has a size of zero. Please " 139 raise WicError("The %s partition has a size of zero. Please "