Magellan Linux

Annotation of /trunk/udisks/patches/udisks-1.0.3-tmp.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1417 - (hide annotations) (download)
Thu Jul 14 20:46:04 2011 UTC (12 years, 10 months ago) by niro
File size: 552 byte(s)
-added patches for udisks
1 niro 1417 The daemon doesn't create /var/run/udisks
2    
3     http://bugs.gentoo.org/show_bug.cgi?id=333893
4     http://bugs.freedesktop.org/show_bug.cgi?id=24265
5     http://bugs.freedesktop.org/show_bug.cgi?id=36589
6    
7     --- src/helpers/job-mkfs.c
8     +++ src/helpers/job-mkfs.c
9     @@ -546,7 +546,7 @@
10     /* take ownership of the device if requested */
11     if (take_ownership_uid != 0 || take_ownership_gid != 0)
12     {
13     - char dir[256] = PACKAGE_LOCALSTATE_DIR "/run/udisks/job-mkfs-XXXXXX";
14     + char dir[256] = "/tmp/job-mkfs-XXXXXX";
15    
16     if (mkdtemp (dir) == NULL)
17     {