X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=libvirt-udevadm-settle.patch;h=2df8d82605a7923f205f5f81e45c3cdc7075c985;hb=c833928a7e72d39a9e4302b345e26bad8fbbd5ff;hp=86e6a3c86da1f59e43cba77d2fc95752f641f17c;hpb=dd619b7ec6ce3f6e0ccaaf63698d61d39a66398f;p=packages%2Flibvirt.git diff --git a/libvirt-udevadm-settle.patch b/libvirt-udevadm-settle.patch index 86e6a3c..2df8d82 100644 --- a/libvirt-udevadm-settle.patch +++ b/libvirt-udevadm-settle.patch @@ -1,12 +1,12 @@ -diff -urp libvirt-1.3.2.orig/src/util/virutil.c libvirt-1.3.2/src/util/virutil.c ---- libvirt-1.3.2.orig/src/util/virutil.c 2016-01-10 01:57:37.000000000 +0000 -+++ libvirt-1.3.2/src/util/virutil.c 2016-03-18 12:36:50.135768000 +0000 -@@ -1538,7 +1538,7 @@ virSetUIDGIDWithCaps(uid_t uid, gid_t gi - void virFileWaitForDevices(void) - { - # ifdef UDEVADM -- const char *const settleprog[] = { UDEVADM, "settle", NULL }; -+ const char *const settleprog[] = { UDEVADM, "settle", "--timeout=10" , NULL }; - # else - const char *const settleprog[] = { UDEVSETTLE, NULL }; - # endif +diff -ur libvirt-5.5.0.orig/src/util/virutil.c libvirt-5.5.0/src/util/virutil.c +--- libvirt-5.5.0.orig/src/util/virutil.c 2019-07-14 19:27:54.120000000 +0200 ++++ libvirt-5.5.0/src/util/virutil.c 2019-07-14 19:28:08.383000000 +0200 +@@ -1488,7 +1488,7 @@ + if (!(udev = virFindFileInPath(UDEVADM))) + return; + +- if (!(cmd = virCommandNewArgList(udev, "settle", NULL))) ++ if (!(cmd = virCommandNewArgList(udev, "settle", "--timeout=10", NULL))) + return; + + /*