summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/udisks/udisks/0001-Make-udev-rules-directory-configurable.patch10
-rw-r--r--meta-oe/recipes-support/udisks/udisks/0001-fix-build-with-newer-glibc-versions.patch6
-rw-r--r--meta-oe/recipes-support/udisks/udisks/optional-depends.patch72
-rw-r--r--meta-oe/recipes-support/udisks/udisks/udisks-1.0.5-fix-service-file.patch5
4 files changed, 51 insertions, 42 deletions
diff --git a/meta-oe/recipes-support/udisks/udisks/0001-Make-udev-rules-directory-configurable.patch b/meta-oe/recipes-support/udisks/udisks/0001-Make-udev-rules-directory-configurable.patch
index 3cc040075f..2823c54f15 100644
--- a/meta-oe/recipes-support/udisks/udisks/0001-Make-udev-rules-directory-configurable.patch
+++ b/meta-oe/recipes-support/udisks/udisks/0001-Make-udev-rules-directory-configurable.patch
@@ -1,4 +1,4 @@
1From 32278297170ffb49116b5789e4a0588b99d02bd0 Mon Sep 17 00:00:00 2001 1From a6eab413f274376cf703a608e2866118291a6185 Mon Sep 17 00:00:00 2001
2From: Amarnath Valluri <amarnath.valluri@intel.com> 2From: Amarnath Valluri <amarnath.valluri@intel.com>
3Date: Thu, 9 Feb 2017 11:02:53 +0200 3Date: Thu, 9 Feb 2017 11:02:53 +0200
4Subject: [PATCH] Make udev rules directory configurable. 4Subject: [PATCH] Make udev rules directory configurable.
@@ -9,6 +9,7 @@ libdir, sbindir for installing librares and binaries.
9Upstream-Status: Inappropriate[Embedded specific] 9Upstream-Status: Inappropriate[Embedded specific]
10 10
11Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> 11Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
12
12--- 13---
13 configure.ac | 14 +++----------- 14 configure.ac | 14 +++-----------
14 data/Makefile.am | 1 - 15 data/Makefile.am | 1 -
@@ -49,11 +50,11 @@ index 8c4e4c2..a143397 100644
49 50
50 compiler: ${CC} 51 compiler: ${CC}
51diff --git a/data/Makefile.am b/data/Makefile.am 52diff --git a/data/Makefile.am b/data/Makefile.am
52index 411ea0f..4834960 100644 53index 08af5f4..9329186 100644
53--- a/data/Makefile.am 54--- a/data/Makefile.am
54+++ b/data/Makefile.am 55+++ b/data/Makefile.am
55@@ -34,7 +34,6 @@ $(systemdservice_DATA): $(systemdservice_in_files) Makefile 56@@ -34,7 +34,6 @@ $(systemdservice_DATA): $(systemdservice_in_files) Makefile
56 @sed -e "s|\@libexecdir\@|$(prefix)/lib/udisks|" $< > $@ 57 @sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
57 endif 58 endif
58 59
59-udevrulesdir = $(slashlibdir)/udev/rules.d 60-udevrulesdir = $(slashlibdir)/udev/rules.d
@@ -86,6 +87,3 @@ index 18325f7..0aaec11 100644
86 87
87 umount_udisks_SOURCES = umount-udisks.c 88 umount_udisks_SOURCES = umount-udisks.c
88 umount_udisks_LDADD = $(DBUS_GLIB_LIBS) $(POLKIT_DBUS_LIBS) 89 umount_udisks_LDADD = $(DBUS_GLIB_LIBS) $(POLKIT_DBUS_LIBS)
89--
902.7.4
91
diff --git a/meta-oe/recipes-support/udisks/udisks/0001-fix-build-with-newer-glibc-versions.patch b/meta-oe/recipes-support/udisks/udisks/0001-fix-build-with-newer-glibc-versions.patch
index 520655a213..8b4f44124b 100644
--- a/meta-oe/recipes-support/udisks/udisks/0001-fix-build-with-newer-glibc-versions.patch
+++ b/meta-oe/recipes-support/udisks/udisks/0001-fix-build-with-newer-glibc-versions.patch
@@ -1,4 +1,4 @@
1From 9829152b12a8924d2e091a00133ed1a3a7ba75c0 Mon Sep 17 00:00:00 2001 1From 054ad6a06cfac7c3d172d53cd901204079a53ec3 Mon Sep 17 00:00:00 2001
2From: Alexandre Rostovtsev <tetromino@gentoo.org> 2From: Alexandre Rostovtsev <tetromino@gentoo.org>
3Date: Fri, 29 May 2015 21:09:39 -0400 3Date: Fri, 29 May 2015 21:09:39 -0400
4Subject: [PATCH] fix build with newer glibc versions 4Subject: [PATCH] fix build with newer glibc versions
@@ -8,6 +8,7 @@ https://bugs.freedesktop.org/show_bug.cgi?id=90778
8Upstream-Status: Applied [1] 8Upstream-Status: Applied [1]
9 9
10[1] http://cgit.freedesktop.org/udisks/commit/?h=udisks1&id=9829152b12a8924d2e091a00133ed1a3a7ba75c0 10[1] http://cgit.freedesktop.org/udisks/commit/?h=udisks1&id=9829152b12a8924d2e091a00133ed1a3a7ba75c0
11
11--- 12---
12 src/helpers/job-drive-detach.c | 1 + 13 src/helpers/job-drive-detach.c | 1 +
13 1 file changed, 1 insertion(+) 14 1 file changed, 1 insertion(+)
@@ -24,6 +25,3 @@ index eeafcab..d122a1f 100644
24 #include <stdio.h> 25 #include <stdio.h>
25 #include <string.h> 26 #include <string.h>
26 #include <errno.h> 27 #include <errno.h>
27--
282.1.0
29
diff --git a/meta-oe/recipes-support/udisks/udisks/optional-depends.patch b/meta-oe/recipes-support/udisks/udisks/optional-depends.patch
index 6131701928..a890954fc3 100644
--- a/meta-oe/recipes-support/udisks/udisks/optional-depends.patch
+++ b/meta-oe/recipes-support/udisks/udisks/optional-depends.patch
@@ -1,12 +1,29 @@
1From 1b70b7a798eeeec554ab5aa9fcfff96a22e91774 Mon Sep 17 00:00:00 2001 1From e8b3fbfa3d6a11eee25db2dc0f31f439aaf0b65a Mon Sep 17 00:00:00 2001
2From: Gustavo Sverzut Barbieri <barbieri@profusion.mobi> 2From: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
3Date: Thu, 26 May 2011 17:30:04 -0300 3Date: Thu, 26 May 2011 17:30:04 -0300
4Subject: [PATCH] Allow disabling atasmart, lvm2 and devicemapper support. 4Subject: [PATCH] Allow disabling atasmart, lvm2 and devicemapper support.
5 5
6https://bugs.freedesktop.org/show_bug.cgi?id=37647 6https://bugs.freedesktop.org/show_bug.cgi?id=37647
7 7
8---
9 configure.ac | 53 +++++++++++++++++++++++++++++++++++++++----------
10 src/adapter-private.h | 1 -
11 src/adapter.c | 1 -
12 src/daemon.c | 4 ++++
13 src/device-private.c | 2 +-
14 src/device-private.h | 5 ++---
15 src/device.c | 23 +++++++++++++++++----
16 src/expander-private.h | 1 -
17 src/expander.c | 1 -
18 src/helpers/Makefile.am | 20 +++++++++++++------
19 src/helpers/partutil.c | 3 ++-
20 src/port-private.h | 1 -
21 src/probers/Makefile.am | 8 ++++++--
22 tools/udisks.c | 10 ++++++++--
23 14 files changed, 99 insertions(+), 34 deletions(-)
24
8diff --git a/configure.ac b/configure.ac 25diff --git a/configure.ac b/configure.ac
9index 62cc35d..b664135 100644 26index 9454423..8c4e4c2 100644
10--- a/configure.ac 27--- a/configure.ac
11+++ b/configure.ac 28+++ b/configure.ac
12@@ -155,13 +155,33 @@ PKG_CHECK_MODULES(POLKIT_GOBJECT_1, [polkit-gobject-1 >= 0.97]) 29@@ -155,13 +155,33 @@ PKG_CHECK_MODULES(POLKIT_GOBJECT_1, [polkit-gobject-1 >= 0.97])
@@ -49,8 +66,8 @@ index 62cc35d..b664135 100644
49+AM_CONDITIONAL(HAVE_DEVMAPPER, [test "$have_devmapper" = "yes"]) 66+AM_CONDITIONAL(HAVE_DEVMAPPER, [test "$have_devmapper" = "yes"])
50 67
51 have_lvm2=no 68 have_lvm2=no
52 AC_ARG_ENABLE(lvm2, AS_HELP_STRING([--disable-lvm2], [disable LVM2 support])) 69 AC_ARG_ENABLE(lvm2, AS_HELP_STRING([--enable-lvm2], [enable LVM2 support]))
53@@ -185,9 +205,19 @@ if test "x$enable_dmmp" != "xno"; then 70@@ -185,9 +205,19 @@ if test "x$enable_dmmp" = "xyes"; then
54 fi 71 fi
55 AM_CONDITIONAL(HAVE_DMMP, [test "$have_dmmp" = "yes"]) 72 AM_CONDITIONAL(HAVE_DMMP, [test "$have_dmmp" = "yes"])
56 73
@@ -73,7 +90,7 @@ index 62cc35d..b664135 100644
73 90
74 PKG_CHECK_MODULES(LIBUDEV, [libudev >= 143]) 91 PKG_CHECK_MODULES(LIBUDEV, [libudev >= 143])
75 AC_SUBST(LIBUDEV_CFLAGS) 92 AC_SUBST(LIBUDEV_CFLAGS)
76@@ -267,9 +297,12 @@ echo " 93@@ -278,9 +308,12 @@ echo "
77 cppflags: ${CPPFLAGS} 94 cppflags: ${CPPFLAGS}
78 xsltproc: ${XSLTPROC} 95 xsltproc: ${XSLTPROC}
79 96
@@ -99,7 +116,7 @@ index 3409e21..ef584e3 100644
99 #include "types.h" 116 #include "types.h"
100 117
101diff --git a/src/adapter.c b/src/adapter.c 118diff --git a/src/adapter.c b/src/adapter.c
102index b85a0ef..802420b 100644 119index 65e05b0..45db8c8 100644
103--- a/src/adapter.c 120--- a/src/adapter.c
104+++ b/src/adapter.c 121+++ b/src/adapter.c
105@@ -30,7 +30,6 @@ 122@@ -30,7 +30,6 @@
@@ -111,10 +128,10 @@ index b85a0ef..802420b 100644
111 #include "daemon.h" 128 #include "daemon.h"
112 #include "adapter.h" 129 #include "adapter.h"
113diff --git a/src/daemon.c b/src/daemon.c 130diff --git a/src/daemon.c b/src/daemon.c
114index 6072502..d043cb0 100644 131index fafcf9a..14e952f 100644
115--- a/src/daemon.c 132--- a/src/daemon.c
116+++ b/src/daemon.c 133+++ b/src/daemon.c
117@@ -1745,6 +1745,7 @@ mdstat_changed_event (GIOChannel *channel, 134@@ -1748,6 +1748,7 @@ mdstat_changed_event (GIOChannel *channel,
118 return TRUE; 135 return TRUE;
119 } 136 }
120 137
@@ -122,7 +139,7 @@ index 6072502..d043cb0 100644
122 static gboolean 139 static gboolean
123 refresh_ata_smart_data (Daemon *daemon) 140 refresh_ata_smart_data (Daemon *daemon)
124 { 141 {
125@@ -1773,6 +1774,7 @@ refresh_ata_smart_data (Daemon *daemon) 142@@ -1776,6 +1777,7 @@ refresh_ata_smart_data (Daemon *daemon)
126 143
127 return FALSE; 144 return FALSE;
128 } 145 }
@@ -130,7 +147,7 @@ index 6072502..d043cb0 100644
130 147
131 static gboolean 148 static gboolean
132 register_disks_daemon (Daemon *daemon) 149 register_disks_daemon (Daemon *daemon)
133@@ -1984,12 +1986,14 @@ daemon_new (void) 150@@ -1987,12 +1989,14 @@ daemon_new (void)
134 mount_file_clean_stale (l); 151 mount_file_clean_stale (l);
135 g_list_free (l); 152 g_list_free (l);
136 153
@@ -146,10 +163,10 @@ index 6072502..d043cb0 100644
146 PROFILE ("daemon_new(): end"); 163 PROFILE ("daemon_new(): end");
147 return daemon; 164 return daemon;
148diff --git a/src/device-private.c b/src/device-private.c 165diff --git a/src/device-private.c b/src/device-private.c
149index 22a0d35..fb96525 100644 166index 45418ce..fb1d959 100644
150--- a/src/device-private.c 167--- a/src/device-private.c
151+++ b/src/device-private.c 168+++ b/src/device-private.c
152@@ -1378,7 +1378,7 @@ device_set_drive_ata_smart_time_collected (Device *device, 169@@ -1390,7 +1390,7 @@ device_set_drive_ata_smart_time_collected (Device *device,
153 170
154 void 171 void
155 device_set_drive_ata_smart_status (Device *device, 172 device_set_drive_ata_smart_status (Device *device,
@@ -159,7 +176,7 @@ index 22a0d35..fb96525 100644
159 if (G_UNLIKELY (device->priv->drive_ata_smart_status != value)) 176 if (G_UNLIKELY (device->priv->drive_ata_smart_status != value))
160 { 177 {
161diff --git a/src/device-private.h b/src/device-private.h 178diff --git a/src/device-private.h b/src/device-private.h
162index a6db7f2..71473a6 100644 179index 32a9bd0..8c57c13 100644
163--- a/src/device-private.h 180--- a/src/device-private.h
164+++ b/src/device-private.h 181+++ b/src/device-private.h
165@@ -23,7 +23,6 @@ 182@@ -23,7 +23,6 @@
@@ -170,7 +187,7 @@ index a6db7f2..71473a6 100644
170 187
171 #include "types.h" 188 #include "types.h"
172 189
173@@ -224,7 +223,7 @@ struct DevicePrivate 190@@ -228,7 +227,7 @@ struct DevicePrivate
174 191
175 gboolean drive_ata_smart_is_available; 192 gboolean drive_ata_smart_is_available;
176 guint64 drive_ata_smart_time_collected; 193 guint64 drive_ata_smart_time_collected;
@@ -179,7 +196,7 @@ index a6db7f2..71473a6 100644
179 void *drive_ata_smart_blob; 196 void *drive_ata_smart_blob;
180 gsize drive_ata_smart_blob_size; 197 gsize drive_ata_smart_blob_size;
181 198
182@@ -391,7 +390,7 @@ void device_set_holders_objpath (Device *device, GStrv value); 199@@ -396,7 +395,7 @@ void device_set_holders_objpath (Device *device, GStrv value);
183 200
184 void device_set_drive_ata_smart_is_available (Device *device, gboolean value); 201 void device_set_drive_ata_smart_is_available (Device *device, gboolean value);
185 void device_set_drive_ata_smart_time_collected (Device *device, guint64 value); 202 void device_set_drive_ata_smart_time_collected (Device *device, guint64 value);
@@ -189,7 +206,7 @@ index a6db7f2..71473a6 100644
189 206
190 G_END_DECLS 207 G_END_DECLS
191diff --git a/src/device.c b/src/device.c 208diff --git a/src/device.c b/src/device.c
192index 6a34940..7a5a4a9 100644 209index 2ae7f38..d73f9d6 100644
193--- a/src/device.c 210--- a/src/device.c
194+++ b/src/device.c 211+++ b/src/device.c
195@@ -50,7 +50,9 @@ 212@@ -50,7 +50,9 @@
@@ -202,7 +219,7 @@ index 6a34940..7a5a4a9 100644
202 219
203 #include "daemon.h" 220 #include "daemon.h"
204 #include "device.h" 221 #include "device.h"
205@@ -659,10 +661,14 @@ get_property (GObject *object, 222@@ -664,10 +666,14 @@ get_property (GObject *object,
206 case PROP_DRIVE_ATA_SMART_STATUS: 223 case PROP_DRIVE_ATA_SMART_STATUS:
207 { 224 {
208 const gchar *status; 225 const gchar *status;
@@ -218,7 +235,7 @@ index 6a34940..7a5a4a9 100644
218 g_value_set_string (value, status); 235 g_value_set_string (value, status);
219 } 236 }
220 break; 237 break;
221@@ -5114,6 +5120,7 @@ device_new (Daemon *daemon, 238@@ -5144,6 +5150,7 @@ device_new (Daemon *daemon,
222 goto out; 239 goto out;
223 } 240 }
224 241
@@ -226,7 +243,7 @@ index 6a34940..7a5a4a9 100644
226 /* if just added, update the smart data if applicable */ 243 /* if just added, update the smart data if applicable */
227 if (device->priv->drive_ata_smart_is_available) 244 if (device->priv->drive_ata_smart_is_available)
228 { 245 {
229@@ -5121,6 +5128,7 @@ device_new (Daemon *daemon, 246@@ -5151,6 +5158,7 @@ device_new (Daemon *daemon,
230 gchar *ata_smart_refresh_data_options[] = { NULL }; 247 gchar *ata_smart_refresh_data_options[] = { NULL };
231 device_drive_ata_smart_refresh_data (device, ata_smart_refresh_data_options, NULL); 248 device_drive_ata_smart_refresh_data (device, ata_smart_refresh_data_options, NULL);
232 } 249 }
@@ -234,7 +251,7 @@ index 6a34940..7a5a4a9 100644
234 251
235 PROFILE ("device_new(native_path=%s): end", native_path); 252 PROFILE ("device_new(native_path=%s): end", native_path);
236 out: 253 out:
237@@ -9794,16 +9802,18 @@ drive_ata_smart_refresh_data_completed_cb (DBusGMethodInvocation *context, 254@@ -9840,16 +9848,18 @@ drive_ata_smart_refresh_data_completed_cb (DBusGMethodInvocation *context,
238 const char *stdout, 255 const char *stdout,
239 gpointer user_data) 256 gpointer user_data)
240 { 257 {
@@ -256,7 +273,7 @@ index 6a34940..7a5a4a9 100644
256 blob = NULL; 273 blob = NULL;
257 274
258 if (job_was_cancelled || stdout == NULL) 275 if (job_was_cancelled || stdout == NULL)
259@@ -9907,6 +9917,11 @@ drive_ata_smart_refresh_data_completed_cb (DBusGMethodInvocation *context, 276@@ -9953,6 +9963,11 @@ drive_ata_smart_refresh_data_completed_cb (DBusGMethodInvocation *context,
260 g_free (blob); 277 g_free (blob);
261 if (d != NULL) 278 if (d != NULL)
262 sk_disk_free (d); 279 sk_disk_free (d);
@@ -430,7 +447,7 @@ index 06bb566..01c693b 100644
430 udisks_probe_sas_expander_SOURCES = udisks-probe-sas-expander.c 447 udisks_probe_sas_expander_SOURCES = udisks-probe-sas-expander.c
431 udisks_probe_sas_expander_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) 448 udisks_probe_sas_expander_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
432diff --git a/tools/udisks.c b/tools/udisks.c 449diff --git a/tools/udisks.c b/tools/udisks.c
433index 6fbd6a6..e0c4fbb 100644 450index 97e80d7..d30159b 100644
434--- a/tools/udisks.c 451--- a/tools/udisks.c
435+++ b/tools/udisks.c 452+++ b/tools/udisks.c
436@@ -43,7 +43,9 @@ 453@@ -43,7 +43,9 @@
@@ -443,7 +460,7 @@ index 6fbd6a6..e0c4fbb 100644
443 460
444 #include "udisks-daemon-glue.h" 461 #include "udisks-daemon-glue.h"
445 #include "udisks-device-glue.h" 462 #include "udisks-device-glue.h"
446@@ -979,6 +981,7 @@ end_highlight (void) 463@@ -983,6 +985,7 @@ end_highlight (void)
447 g_print ("\x1B[0m"); 464 g_print ("\x1B[0m");
448 } 465 }
449 466
@@ -451,7 +468,7 @@ index 6fbd6a6..e0c4fbb 100644
451 static const gchar * 468 static const gchar *
452 ata_smart_status_to_desc (const gchar *status, 469 ata_smart_status_to_desc (const gchar *status,
453 gboolean *out_highlight) 470 gboolean *out_highlight)
454@@ -1159,6 +1162,7 @@ print_ata_smart_attr (SkDisk *d, 471@@ -1163,6 +1166,7 @@ print_ata_smart_attr (SkDisk *d,
455 g_free (threshold_str); 472 g_free (threshold_str);
456 g_free (pretty); 473 g_free (pretty);
457 } 474 }
@@ -459,7 +476,7 @@ index 6fbd6a6..e0c4fbb 100644
459 476
460 static void 477 static void
461 do_show_info (const char *object_path) 478 do_show_info (const char *object_path)
462@@ -1440,7 +1444,7 @@ do_show_info (const char *object_path) 479@@ -1445,7 +1449,7 @@ do_show_info (const char *object_path)
463 g_print (" if speed: %" G_GINT64_FORMAT " bits/s\n", props->drive_connection_speed); 480 g_print (" if speed: %" G_GINT64_FORMAT " bits/s\n", props->drive_connection_speed);
464 481
465 /* ------------------------------------------------------------------------------------------------- */ 482 /* ------------------------------------------------------------------------------------------------- */
@@ -468,7 +485,7 @@ index 6fbd6a6..e0c4fbb 100644
468 if (!props->drive_ata_smart_is_available) 485 if (!props->drive_ata_smart_is_available)
469 { 486 {
470 g_print (" ATA SMART: not available\n"); 487 g_print (" ATA SMART: not available\n");
471@@ -1493,7 +1497,9 @@ do_show_info (const char *object_path) 488@@ -1498,7 +1502,9 @@ do_show_info (const char *object_path)
472 } 489 }
473 490
474 } 491 }
@@ -479,6 +496,3 @@ index 6fbd6a6..e0c4fbb 100644
479 /* ------------------------------------------------------------------------------------------------- */ 496 /* ------------------------------------------------------------------------------------------------- */
480 497
481 } 498 }
482--
4831.7.5.rc3
484
diff --git a/meta-oe/recipes-support/udisks/udisks/udisks-1.0.5-fix-service-file.patch b/meta-oe/recipes-support/udisks/udisks/udisks-1.0.5-fix-service-file.patch
index d5e84d34df..d4efa93dd3 100644
--- a/meta-oe/recipes-support/udisks/udisks/udisks-1.0.5-fix-service-file.patch
+++ b/meta-oe/recipes-support/udisks/udisks/udisks-1.0.5-fix-service-file.patch
@@ -1,4 +1,4 @@
1From 7d61ad048856ee239870b917d6933e3ad63f0789 Mon Sep 17 00:00:00 2001 1From a4f6aa5be37ae6e2194c9ded2ea8c1da330f5694 Mon Sep 17 00:00:00 2001
2From: David King <amigadave@amigadave.com> 2From: David King <amigadave@amigadave.com>
3Date: Thu, 2 Jul 2015 13:49:22 +0100 3Date: Thu, 2 Jul 2015 13:49:22 +0100
4Subject: [PATCH] Fix systemd service file 4Subject: [PATCH] Fix systemd service file
@@ -12,6 +12,7 @@ Taken-From: [1]
12[1] http://pkgs.fedoraproject.org/cgit/udisks.git/tree/udisks-1.0.5-fix-service-file.patch 12[1] http://pkgs.fedoraproject.org/cgit/udisks.git/tree/udisks-1.0.5-fix-service-file.patch
13 13
14Upstream-Status: Pending 14Upstream-Status: Pending
15
15--- 16---
16 data/Makefile.am | 2 +- 17 data/Makefile.am | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-) 18 1 file changed, 1 insertion(+), 1 deletion(-)
@@ -29,5 +30,3 @@ index 411ea0f..08af5f4 100644
29 endif 30 endif
30 31
31 udevrulesdir = $(slashlibdir)/udev/rules.d 32 udevrulesdir = $(slashlibdir)/udev/rules.d
32--
332.4.5