naccyde / rpms / systemd

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