6dd417b710
- udev is GPL-2.0, the rest remains LGPL-2.1+ (bnc#787824) OBS-URL: https://build.opensuse.org/request/show/139993 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=111
14 lines
709 B
Diff
14 lines
709 B
Diff
Index: udev-182/src/udevd.c
|
|
===================================================================
|
|
--- udev-182.orig/src/udev/udevd.c
|
|
+++ udev-182/src/udev/udevd.c
|
|
@@ -1683,6 +1683,8 @@ int main(int argc, char *argv[])
|
|
dev = udev_monitor_receive_device(monitor);
|
|
if (dev != NULL) {
|
|
udev_device_set_usec_initialized(dev, now_usec());
|
|
+ if (rules == NULL)
|
|
+ rules = udev_rules_new(udev, resolve_names);
|
|
if (event_queue_insert(dev) < 0)
|
|
udev_device_unref(dev);
|
|
}
|