diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-12-19 17:38:55 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-01-21 20:23:13 +0100 |
commit | a7e885587949b6793ccf389505f3c436315fa653 (patch) | |
tree | 938983c24a144569fff6ad0fe7ddbb6e189b2b64 /units/blockdev@.target | |
parent | cryptsetup-generator: order after cryptsetup-pre.target unconditionally (diff) | |
download | systemd-a7e885587949b6793ccf389505f3c436315fa653.tar.xz systemd-a7e885587949b6793ccf389505f3c436315fa653.zip |
units: introduce blockdev@.target for properly ordering mounts/swaps against cryptsetup
Let's hook it into both cryptsetup-generator and gpt-auto-generator with
a shared implementation in generator.c
Fixes: #8472
Diffstat (limited to 'units/blockdev@.target')
-rw-r--r-- | units/blockdev@.target | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/units/blockdev@.target b/units/blockdev@.target new file mode 100644 index 0000000000..22a9a5bb2b --- /dev/null +++ b/units/blockdev@.target @@ -0,0 +1,13 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Block Device Preparation for %f +Documentation=man:systemd.special(7) +StopWhenUnneeded=yes |