summaryrefslogtreecommitdiff
path: root/testing/udisks/01-mkfs-tempdir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/udisks/01-mkfs-tempdir.patch')
-rw-r--r--testing/udisks/01-mkfs-tempdir.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/testing/udisks/01-mkfs-tempdir.patch b/testing/udisks/01-mkfs-tempdir.patch
deleted file mode 100644
index 976108264..000000000
--- a/testing/udisks/01-mkfs-tempdir.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-# Description: Daemon does not create /var/run/udisks/, so mkfs jobs fail.
-# Just create the directory in /tmp, this is what /tmp is for, after all.
-# Upstream: https://bugs.freedesktop.org/show_bug.cgi?id=24265
-
-Index: udisks/src/helpers/job-mkfs.c
-===================================================================
---- udisks.orig/src/helpers/job-mkfs.c 2010-12-05 23:08:54.587881164 +0100
-+++ udisks/src/helpers/job-mkfs.c 2010-12-05 23:09:12.399889312 +0100
-@@ -546,7 +546,7 @@
- /* take ownership of the device if requested */
- if (take_ownership_uid != 0 || take_ownership_gid != 0)
- {
-- char dir[256] = PACKAGE_LOCALSTATE_DIR "/run/udisks/job-mkfs-XXXXXX";
-+ char dir[256] = "/tmp/job-mkfs-XXXXXX";
-
- if (mkdtemp (dir) == NULL)
- {