]> TLD Linux GIT Repositories - packages/libvirt.git/blob - libvirt-udevadm-settle.patch
- updated to 2.1.0
[packages/libvirt.git] / libvirt-udevadm-settle.patch
1 diff -urp libvirt-2.1.0.orig/src/util/virutil.c libvirt-2.1.0/src/util/virutil.c
2 --- libvirt-2.1.0.orig/src/util/virutil.c       2016-08-20 10:22:17.303554000 +0000
3 +++ libvirt-2.1.0/src/util/virutil.c    2016-08-20 10:26:45.761554000 +0000
4 @@ -1586,7 +1586,7 @@ virSetUIDGIDWithCaps(uid_t uid, gid_t gi
5  void virFileWaitForDevices(void)
6  {
7  # ifdef UDEVADM
8 -    const char *const settleprog[] = { UDEVADM, "settle", NULL };
9 +    const char *const settleprog[] = { UDEVADM, "settle", "--timeout=10" , NULL };
10  # else
11      const char *const settleprog[] = { UDEVSETTLE, NULL };
12  # endif