summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-base/hal/udev-update.patch
blob: a5be64bc645fc733fae4a280f9953e38a95d6c9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff -ur hal-0.5.14_origin/hald/linux/blockdev.c hal-0.5.14/hald/linux/blockdev.c
--- hal-0.5.14_origin/hald/linux/blockdev.c	2012-02-15 01:44:51.000000000 +0100
+++ hal-0.5.14/hald/linux/blockdev.c	2012-02-15 01:45:12.000000000 +0100
@@ -1864,7 +1864,7 @@
         char *ret;
         char *u_stdout;
         int u_exit_status;
-        const char *argv[] = {"/sbin/udevadm", "info", "--root", "--query", "name", "--path", NULL, NULL};
+        const char *argv[] = {"/usr/bin/udevadm", "info", "--root", "--query", "name", "--path", NULL, NULL};
         GError *g_error;
 
         ret = NULL;
diff -ur hal-0.5.14_origin/hald/linux/coldplug.c hal-0.5.14/hald/linux/coldplug.c
--- hal-0.5.14_origin/hald/linux/coldplug.c	2012-02-15 01:44:51.000000000 +0100
+++ hal-0.5.14/hald/linux/coldplug.c	2012-02-15 01:45:08.000000000 +0100
@@ -154,8 +154,8 @@
 static gboolean
 hal_util_init_sysfs_to_udev_map (void)
 {
-	char *udevdb_export_argv[] = { "/sbin/udevadm", "info", "-e", NULL };
-	char *udevroot_argv[] = { "/sbin/udevadm", "info", "-r", NULL };
+	char *udevdb_export_argv[] = { "/usr/bin/udevadm", "info", "-e", NULL };
+	char *udevroot_argv[] = { "/usr/bin/udevadm", "info", "-r", NULL };
 	int udevinfo_exitcode;
 	UdevInfo *info = NULL;
 	char *p;