From 05badb6427442388b9bea04c8b184a2ce92362ec Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Tue, 13 Jun 2017 14:22:02 +0300 Subject: wic: add mcopy property Added property that points to the mcopy executable. Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- scripts/lib/wic/engine.py | 5 +++++ 1 file changed, 5 insertions(+) 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") -- cgit 1.2.3-korg