From 29242acfdb7382ed1400122ebf9f8625df2b0312 Mon Sep 17 00:00:00 2001 From: Andrei Pozolotin Date: Tue, 21 Apr 2020 07:20:56 -0500 Subject: [PATCH] crypto review: missing module: dm-integrity --- src/initrd-cryptsetup.service | 1 + .../test_base/usr/lib/systemd/system/initrd-cryptsetup.service | 1 + tool/image/test/cryptsetup/verify.py | 1 + 3 files changed, 3 insertions(+) diff --git a/src/initrd-cryptsetup.service b/src/initrd-cryptsetup.service index 5f6d82e..e6ab35b 100644 --- a/src/initrd-cryptsetup.service +++ b/src/initrd-cryptsetup.service @@ -64,6 +64,7 @@ InitrdBinary=/usr/bin/mkswap # include cryptsetup binaries InitrdBinary=/usr/bin/dmsetup InitrdCall=add_module dm-crypt +InitrdCall=add_module dm-integrity InitrdCall=add_all_modules /crypto/ # include cryptsetup udev rules diff --git a/tool/image/test/cryptsetup/test_base/usr/lib/systemd/system/initrd-cryptsetup.service b/tool/image/test/cryptsetup/test_base/usr/lib/systemd/system/initrd-cryptsetup.service index 7f7d16a..d2f7d2f 100644 --- a/tool/image/test/cryptsetup/test_base/usr/lib/systemd/system/initrd-cryptsetup.service +++ b/tool/image/test/cryptsetup/test_base/usr/lib/systemd/system/initrd-cryptsetup.service @@ -65,6 +65,7 @@ InitrdBinary=/usr/bin/mkswap # include cryptsetup binaries InitrdBinary=/usr/bin/dmsetup InitrdCall=add_module dm-crypt +InitrdCall=add_module dm-integrity InitrdCall=add_all_modules /crypto/ # include cryptsetup udev rules diff --git a/tool/image/test/cryptsetup/verify.py b/tool/image/test/cryptsetup/verify.py index 188dbab..9d30c62 100755 --- a/tool/image/test/cryptsetup/verify.py +++ b/tool/image/test/cryptsetup/verify.py @@ -55,6 +55,7 @@ "/bin/mkswap", f"/usr/lib/modules/{kernel_version}/kernel/dm-crypt.ko", + f"/usr/lib/modules/{kernel_version}/kernel/dm-integrity.ko", "/usr/lib/udev/rules.d/10-dm.rules", "/usr/lib/udev/rules.d/11-dm-initramfs.rules",