mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
51fdae503a
commit
cb0df94a4e
@@ -45,11 +45,7 @@ class PartitionedMount(Mount):
|
|||||||
self.mountOrder = []
|
self.mountOrder = []
|
||||||
self.unmountOrder = []
|
self.unmountOrder = []
|
||||||
self.parted = find_binary_path("parted")
|
self.parted = find_binary_path("parted")
|
||||||
self.kpartx = find_binary_path("kpartx")
|
|
||||||
self.mkswap = find_binary_path("mkswap")
|
|
||||||
self.btrfscmd=None
|
self.btrfscmd=None
|
||||||
self.mountcmd = find_binary_path("mount")
|
|
||||||
self.umountcmd = find_binary_path("umount")
|
|
||||||
self.skipformat = skipformat
|
self.skipformat = skipformat
|
||||||
self.snapshot_created = self.skipformat
|
self.snapshot_created = self.skipformat
|
||||||
# Size of a sector used in calculations
|
# Size of a sector used in calculations
|
||||||
|
|||||||
Reference in New Issue
Block a user