wok-4.x diff hal/stuff/hal-udev.patch @ rev 2126

ntfs-3g: update /etc/filesystems
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 01 12:23:00 2009 +0000 (2009-02-01)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/hal/stuff/hal-udev.patch	Sun Feb 01 12:23:00 2009 +0000
     1.3 @@ -0,0 +1,29 @@
     1.4 +--- hal-0.5.11/hald/linux/blockdev.c	2008-05-08 01:23:41.000000000 +0200
     1.5 ++++ hal-0.5.11.new/hald/linux/blockdev.c	2008-10-26 17:21:21.317075298 +0100
     1.6 +@@ -1750,11 +1750,11 @@
     1.7 +         char *ret;
     1.8 +         char *u_stdout;
     1.9 +         int u_exit_status;
    1.10 +-        const char *argv[] = {"/usr/bin/udevinfo", "--root", "--query", "name", "--path", NULL, NULL};
    1.11 ++        const char *argv[] = {"/sbin/udevadm", "info", "--root", "--query", "name", "--path", NULL, NULL};
    1.12 +         GError *g_error;
    1.13 + 
    1.14 +         ret = NULL;
    1.15 +-        argv[5] = sysfs_path;
    1.16 ++        argv[6] = sysfs_path;
    1.17 + 
    1.18 +         g_error = NULL;
    1.19 + 
    1.20 +--- hal-0.5.11/hald/linux/coldplug.c	2008-05-08 01:23:32.000000000 +0200
    1.21 ++++ hal-0.5.11.new/hald/linux/coldplug.c	2008-10-26 17:20:38.451808974 +0100
    1.22 +@@ -149,8 +149,8 @@
    1.23 + static gboolean
    1.24 + hal_util_init_sysfs_to_udev_map (void)
    1.25 + {
    1.26 +-	char *udevdb_export_argv[] = { "/usr/bin/udevinfo", "-e", NULL };
    1.27 +-	char *udevroot_argv[] = { "/usr/bin/udevinfo", "-r", NULL };
    1.28 ++	char *udevdb_export_argv[] = { "/sbin/udevadm", "info", "-e", NULL };
    1.29 ++	char *udevroot_argv[] = { "/sbin/udevadm", "info", "-r", NULL };
    1.30 + 	int udevinfo_exitcode;
    1.31 + 	UdevInfo *info = NULL;
    1.32 + 	char *p;