ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
923a60
From 09d583399bf41a61b9b3a96d9eefa51ad4219a6a Mon Sep 17 00:00:00 2001
923a60
From: Lennart Poettering <lennart@poettering.net>
923a60
Date: Fri, 3 Apr 2015 14:27:16 +0200
923a60
Subject: [PATCH] units: move After=systemd-hwdb-update.service dependency from
923a60
 udev to udev-trigger
923a60
923a60
Let's move the hwdb regeneration a bit later. Given that hwdb is
923a60
non-essential it should be OK to allow udev to run without it until we
923a60
do the full trigger.
923a60
923a60
http://lists.freedesktop.org/archives/systemd-devel/2015-April/030074.html
923a60
(cherry picked from commit d8f0930eec248c2f54c85aa5029e1b3775c8dc75)
923a60
923a60
Cherry-picked from: 84a1e05
923a60
Resolves: #1222517
923a60
---
923a60
 units/systemd-udev-trigger.service.in | 2 +-
923a60
 units/systemd-udevd.service.in        | 2 +-
923a60
 2 files changed, 2 insertions(+), 2 deletions(-)
923a60
923a60
diff --git a/units/systemd-udev-trigger.service.in b/units/systemd-udev-trigger.service.in
923a60
index 0c33909cee..1e04d11fe3 100644
923a60
--- a/units/systemd-udev-trigger.service.in
923a60
+++ b/units/systemd-udev-trigger.service.in
923a60
@@ -10,7 +10,7 @@ Description=udev Coldplug all Devices
923a60
 Documentation=man:udev(7) man:systemd-udevd.service(8)
923a60
 DefaultDependencies=no
923a60
 Wants=systemd-udevd.service
923a60
-After=systemd-udevd-kernel.socket systemd-udevd-control.socket
923a60
+After=systemd-udevd-kernel.socket systemd-udevd-control.socket systemd-hwdb-update.service
923a60
 Before=sysinit.target
923a60
 ConditionPathIsReadWrite=/sys
923a60
 
923a60
diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in
923a60
index 2791f73ac3..a133044005 100644
923a60
--- a/units/systemd-udevd.service.in
923a60
+++ b/units/systemd-udevd.service.in
923a60
@@ -10,7 +10,7 @@ Description=udev Kernel Device Manager
923a60
 Documentation=man:systemd-udevd.service(8) man:udev(7)
923a60
 DefaultDependencies=no
923a60
 Wants=systemd-udevd-control.socket systemd-udevd-kernel.socket
923a60
-After=systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-hwdb-update.service systemd-sysusers.service
923a60
+After=systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-sysusers.service
923a60
 Before=sysinit.target
923a60
 ConditionPathIsReadWrite=/sys
923a60