aboutsummaryrefslogtreecommitdiffstats
path: root/main/udisks/udisks-uhelper.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-09-23 09:16:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-09-23 09:16:37 +0000
commit7711090cdb7398428536b177e55cabea219258d5 (patch)
treec344402294aa4d63574ca0970c1c1bdf332a83e7 /main/udisks/udisks-uhelper.patch
parent59ea1c2b42e66c216243a22e9d4d22ed6a3b93f4 (diff)
downloadaports-7711090cdb7398428536b177e55cabea219258d5.tar.gz
aports-7711090cdb7398428536b177e55cabea219258d5.tar.bz2
aports-7711090cdb7398428536b177e55cabea219258d5.tar.xz
main/udisk: fix mounting with busybox mount
busybox mount does not support the uhelper= mount option and util-linux appears to just ignore it. Rather than adding code that does nothing to busybox mount we just drop the uhelper=udisks from udisks side. Reported upstream: https://bugs.freedesktop.org/show_bug.cgi?id=41142
Diffstat (limited to 'main/udisks/udisks-uhelper.patch')
-rw-r--r--main/udisks/udisks-uhelper.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/udisks/udisks-uhelper.patch b/main/udisks/udisks-uhelper.patch
new file mode 100644
index 0000000000..b04d04836b
--- /dev/null
+++ b/main/udisks/udisks-uhelper.patch
@@ -0,0 +1,11 @@
+--- ./src/device.c.orig
++++ ./src/device.c
+@@ -6480,7 +6480,7 @@
+ options = prepend_default_mount_options (device, fsmo, caller_uid, given_options);
+
+ /* validate mount options and check for authorizations */
+- s = g_string_new ("uhelper=udisks,nodev,nosuid");
++ s = g_string_new ("nodev,nosuid");
+ for (n = 0; options[n] != NULL; n++)
+ {
+ const char *option = options[n];