summaryrefslogtreecommitdiff
path: root/dev-python/pyparted/files/pyparted-3.10.3-sbin-parted.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyparted/files/pyparted-3.10.3-sbin-parted.patch')
-rw-r--r--dev-python/pyparted/files/pyparted-3.10.3-sbin-parted.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/pyparted/files/pyparted-3.10.3-sbin-parted.patch b/dev-python/pyparted/files/pyparted-3.10.3-sbin-parted.patch
new file mode 100644
index 00000000000..e12088e248a
--- /dev/null
+++ b/dev-python/pyparted/files/pyparted-3.10.3-sbin-parted.patch
@@ -0,0 +1,11 @@
+--- a/tests/baseclass.py
++++ b/tests/baseclass.py
+@@ -127,7 +127,7 @@
+ class RequiresLabeledDevice(RequiresDevice):
+ def setUp(self):
+ RequiresDevice.setUp(self)
+- os.system("/sbin/parted -s %s mklabel msdos" % (self.path,))
++ os.system("/usr/sbin/parted -s %s mklabel msdos" % (self.path,))
+
+ # Base class for any test case that requires a _ped.Disk or parted.Disk.
+ class RequiresDisk(RequiresDevice):