summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic')
-rw-r--r--scripts/lib/wic/engine.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/lib/wic/engine.py b/scripts/lib/wic/engine.py
index e3701c442e..f24fb9aa8a 100644
--- a/scripts/lib/wic/engine.py
+++ b/scripts/lib/wic/engine.py
@@ -237,6 +237,7 @@ class Disk:
237 self.native_sysroot = native_sysroot 237 self.native_sysroot = native_sysroot
238 self._partitions = None 238 self._partitions = None
239 self._mdir = None 239 self._mdir = None
240 self._mcopy = None
240 self._partimages = {} 241 self._partimages = {}
241 242
242 # find parted 243 # find parted
@@ -280,6 +281,10 @@ class Disk:
280 def mdir(self): 281 def mdir(self):
281 return self._prop('mdir') 282 return self._prop('mdir')
282 283
284 @property
285 def mcopy(self):
286 return self._prop("mcopy")
287
283 def _get_part_image(self, pnum): 288 def _get_part_image(self, pnum):
284 if pnum not in self.partitions: 289 if pnum not in self.partitions:
285 raise WicError("Partition %s is not in the image") 290 raise WicError("Partition %s is not in the image")