anitazha / rpms / systemd

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