]> code.ossystems Code Review - openembedded-core.git/commitdiff
wic: Remove binary dependencies
authorTom Zanussi <tom.zanussi@linux.intel.com>
Tue, 22 Oct 2013 14:24:03 +0000 (09:24 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Oct 2013 06:14:00 +0000 (07:14 +0100)
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>
scripts/lib/mic/utils/partitionedfs.py

index 59263ba1a580b6ec2682d65c29e9f06a3ebcff48..6607466a83a7aedb5945640707a5d47caaa76929 100644 (file)
@@ -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