summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-06-13 14:22:02 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-14 10:18:21 +0100
commit05badb6427442388b9bea04c8b184a2ce92362ec (patch)
treed1896a4748936f670d2ecc8e43dd145bc82ef3ae
parent4c1ded3ddbd04ad1640620ec1348831692a93dbe (diff)
downloadopenembedded-core-contrib-05badb6427442388b9bea04c8b184a2ce92362ec.tar.gz
openembedded-core-contrib-05badb6427442388b9bea04c8b184a2ce92362ec.tar.bz2
openembedded-core-contrib-05badb6427442388b9bea04c8b184a2ce92362ec.zip
wic: add mcopy property
Added property that points to the mcopy executable. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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:
self.native_sysroot = native_sysroot
self._partitions = None
self._mdir = None
+ self._mcopy = None
self._partimages = {}
# find parted
@@ -280,6 +281,10 @@ class Disk:
def mdir(self):
return self._prop('mdir')
+ @property
+ def mcopy(self):
+ return self._prop("mcopy")
+
def _get_part_image(self, pnum):
if pnum not in self.partitions:
raise WicError("Partition %s is not in the image")