daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
dd65c9
From d3b747ccbd34fd11298429787e67429af9c06dbb Mon Sep 17 00:00:00 2001
dd65c9
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
dd65c9
Date: Wed, 18 Oct 2017 15:14:46 +0200
dd65c9
Subject: [PATCH] units: make remote-cryptsetup.target also after
dd65c9
 cryptsetup-pre.target
dd65c9
dd65c9
This way people can order units before cryptsetup-pre.target and
dd65c9
have them run before any cryptsetup-related stuff.
dd65c9
dd65c9
Cherry-picked from: a0e030f53bad355be1084a0475eb30aae20e3e43
dd65c9
Resolves: #1477757
dd65c9
---
dd65c9
 units/remote-cryptsetup.target | 2 +-
dd65c9
 1 file changed, 1 insertion(+), 1 deletion(-)
dd65c9
dd65c9
diff --git a/units/remote-cryptsetup.target b/units/remote-cryptsetup.target
dd65c9
index d485b0672..ac4e1b71d 100644
dd65c9
--- a/units/remote-cryptsetup.target
dd65c9
+++ b/units/remote-cryptsetup.target
dd65c9
@@ -8,7 +8,7 @@
dd65c9
 [Unit]
dd65c9
 Description=Remote Encrypted Volumes
dd65c9
 Documentation=man:systemd.special(7)
dd65c9
-After=remote-fs-pre.target
dd65c9
+After=remote-fs-pre.target cryptsetup-pre.target
dd65c9
 DefaultDependencies=no
dd65c9
 Conflicts=shutdown.target
dd65c9