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