SOURCES: hal-udev.patch (NEW) - udevinfo was deprecated for a long time
patrys
patrys at pld-linux.org
Sun Oct 26 17:28:11 CET 2008
Author: patrys Date: Sun Oct 26 16:28:11 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- udevinfo was deprecated for a long time
---- Files affected:
SOURCES:
hal-udev.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/hal-udev.patch
diff -u /dev/null SOURCES/hal-udev.patch:1.1
--- /dev/null Sun Oct 26 17:28:12 2008
+++ SOURCES/hal-udev.patch Sun Oct 26 17:28:06 2008
@@ -0,0 +1,29 @@
+--- hal-0.5.11/hald/linux/blockdev.c 2008-05-08 01:23:41.000000000 +0200
++++ hal-0.5.11.new/hald/linux/blockdev.c 2008-10-26 17:21:21.317075298 +0100
+@@ -1750,11 +1750,11 @@
+ char *ret;
+ char *u_stdout;
+ int u_exit_status;
+- const char *argv[] = {"/usr/bin/udevinfo", "--root", "--query", "name", "--path", NULL, NULL};
++ const char *argv[] = {"/sbin/udevadm", "info", "--root", "--query", "name", "--path", NULL, NULL};
+ GError *g_error;
+
+ ret = NULL;
+- argv[5] = sysfs_path;
++ argv[6] = sysfs_path;
+
+ g_error = NULL;
+
+--- hal-0.5.11/hald/linux/coldplug.c 2008-05-08 01:23:32.000000000 +0200
++++ hal-0.5.11.new/hald/linux/coldplug.c 2008-10-26 17:20:38.451808974 +0100
+@@ -149,8 +149,8 @@
+ static gboolean
+ hal_util_init_sysfs_to_udev_map (void)
+ {
+- char *udevdb_export_argv[] = { "/usr/bin/udevinfo", "-e", NULL };
+- char *udevroot_argv[] = { "/usr/bin/udevinfo", "-r", NULL };
++ char *udevdb_export_argv[] = { "/sbin/udevadm", "info", "-e", NULL };
++ char *udevroot_argv[] = { "/sbin/udevadm", "info", "-r", NULL };
+ int udevinfo_exitcode;
+ UdevInfo *info = NULL;
+ char *p;
================================================================
More information about the pld-cvs-commit
mailing list