From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mail.openembedded.org (Postfix) with ESMTP id EABC17830D for ; Thu, 8 Jun 2017 16:16:02 +0000 (UTC) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jun 2017 09:15:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,315,1493708400"; d="scan'208";a="271865989" Received: from linux.intel.com ([10.54.29.200]) by fmsmga004.fm.intel.com with ESMTP; 08 Jun 2017 09:15:26 -0700 Received: from vmed.fi.intel.com (vmed.fi.intel.com [10.237.72.38]) by linux.intel.com (Postfix) with ESMTP id 68ED95806E7 for ; Thu, 8 Jun 2017 09:15:25 -0700 (PDT) From: Ed Bartosh To: openembedded-core@lists.openembedded.org Date: Thu, 8 Jun 2017 19:12:55 +0300 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: Subject: [PATCH 13/25] wic: add mcopy property X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2017 16:16:03 -0000 Added property that points to the mcopy executable. Signed-off-by: Ed Bartosh --- 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 e3701c4..f24fb9a 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") -- 2.1.4