aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/webmin/files/fdisk-partprobe-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/webmin/files/fdisk-partprobe-fix.patch')
-rw-r--r--recipes-extended/webmin/files/fdisk-partprobe-fix.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-extended/webmin/files/fdisk-partprobe-fix.patch b/recipes-extended/webmin/files/fdisk-partprobe-fix.patch
new file mode 100644
index 0000000..2279c96
--- /dev/null
+++ b/recipes-extended/webmin/files/fdisk-partprobe-fix.patch
@@ -0,0 +1,16 @@
+# Fix prepending partprobe command in fdisk module library code
+#
+# Upstream-status: Pending
+#
+# Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
+--- webmin-1.570.orig/fdisk/fdisk-lib.pl
++++ webmin-1.570/fdisk/fdisk-lib.pl
+@@ -940,7 +940,7 @@ elsif ($_[0] eq "fatx") {
+ $cmd = "mkfs -t $_[0] $_[1]";
+ }
+ if (&has_command("partprobe")) {
+- $cmd .= "partprobe ; $cmd";
++ $cmd = "partprobe ; $cmd";
+ }
+ return $cmd;
+ }