summaryrefslogtreecommitdiff
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:00 +0100
commit76293d2d6bbdeacd7b34f39f26fb97c3d7f9496f (patch)
treea9cea6168f5dec2123075b8a151fb0aa1848b599
parente10ae516cfc10900ed12e84c743e3a7127372135 (diff)
downloadopenembedded-core-76293d2d6bbdeacd7b34f39f26fb97c3d7f9496f.tar.gz
openembedded-core-76293d2d6bbdeacd7b34f39f26fb97c3d7f9496f.tar.bz2
openembedded-core-76293d2d6bbdeacd7b34f39f26fb97c3d7f9496f.zip
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. 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):
self.mountOrder = []
self.unmountOrder = []
self.parted = find_binary_path("parted")
- self.kpartx = find_binary_path("kpartx")
- self.mkswap = find_binary_path("mkswap")
self.btrfscmd=None
- self.mountcmd = find_binary_path("mount")
- self.umountcmd = find_binary_path("umount")
self.skipformat = skipformat
self.snapshot_created = self.skipformat
# Size of a sector used in calculations