forked from pool/systemd
9cce0631b3
- Create and own more systemd drop-in directories. - Improve mini packages for bootstrapping. - do not mount /tmp as tmpfs by default. - Fix install script when there is no inittab - Create a systemd-mini specfile to prevent cycle in bootstrapping OBS-URL: https://build.opensuse.org/request/show/139371 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=300
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);
|
|
}
|