From 1f1a2243c0920bed1ba0ffd8e94e1de0172259ac Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Sun, 26 Sep 2021 11:53:42 -0500 Subject: Add stand-alone dm-integrity support This adds support for dm integrity targets and an associated /etc/integritytab file which is required as the dm integrity device super block doesn't include all of the required metadata to bring up the device correctly. See integritytab man page for details. --- units/integritysetup-pre.target | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 units/integritysetup-pre.target (limited to 'units/integritysetup-pre.target') diff --git a/units/integritysetup-pre.target b/units/integritysetup-pre.target new file mode 100644 index 0000000000..da2aca9a28 --- /dev/null +++ b/units/integritysetup-pre.target @@ -0,0 +1,14 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# +# 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=Local Integrity Protected Volumes (Pre) +Documentation=man:systemd.special(7) +RefuseManualStart=yes +Before=integritysetup.target -- cgit v1.2.3