]> TLD Linux GIT Repositories - packages/libvirt.git/blob - libvirt-udevadm-settle.patch
- updated to 5.1.0
[packages/libvirt.git] / libvirt-udevadm-settle.patch
1 diff -urp libvirt-5.1.0.orig/src/util/virutil.c libvirt-5.1.0/src/util/virutil.c
2 --- libvirt-5.1.0.orig/src/util/virutil.c       2019-03-23 11:49:17.807000000 +0100
3 +++ libvirt-5.1.0/src/util/virutil.c    2019-03-23 11:49:42.522000000 +0100
4 @@ -1655,7 +1655,7 @@ virSetUIDGIDWithCaps(uid_t uid, gid_t gi
5  void virWaitForDevices(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