summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2013-10-22 09:24:03 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-23 07:14:12 +0100
commitcb0df94a4ec349571bc630ecda11cf34b478b646 (patch)
tree863be9e2e4bc3684e74199755fdf80bbb0f217c4
parent51fdae503a07f3874baca7482a08353915c65cb0 (diff)
downloadpoky-cb0df94a4ec349571bc630ecda11cf34b478b646.tar.gz
wic: Remove binary dependencies
Current functionality doesn't make use of kpartx, mount, or unmount, and we use native mkswap, so remove the binary checks for those. (From OE-Core rev: 76293d2d6bbdeacd7b34f39f26fb97c3d7f9496f) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--scripts/lib/mic/utils/partitionedfs.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/lib/mic/utils/partitionedfs.py b/scripts/lib/mic/utils/partitionedfs.py
index 59263ba1a5..6607466a83 100644
--- a/scripts/lib/mic/utils/partitionedfs.py
+++ b/scripts/lib/mic/utils/partitionedfs.py
@@ -45,11 +45,7 @@ class PartitionedMount(Mount):
45 self.mountOrder = [] 45 self.mountOrder = []
46 self.unmountOrder = [] 46 self.unmountOrder = []
47 self.parted = find_binary_path("parted") 47 self.parted = find_binary_path("parted")
48 self.kpartx = find_binary_path("kpartx")
49 self.mkswap = find_binary_path("mkswap")
50 self.btrfscmd=None 48 self.btrfscmd=None
51 self.mountcmd = find_binary_path("mount")
52 self.umountcmd = find_binary_path("umount")
53 self.skipformat = skipformat 49 self.skipformat = skipformat
54 self.snapshot_created = self.skipformat 50 self.snapshot_created = self.skipformat
55 # Size of a sector used in calculations 51 # Size of a sector used in calculations