From b4cc119f666afdd0558b40bf508de85956507bf5 Mon Sep 17 00:00:00 2001 From: Tim Schlueter Date: Thu, 23 Aug 2018 21:42:44 -0700 Subject: Make sure initramfs-tools adds chacha20 and poly1305 if loaded --- initramfs/hook | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'initramfs/hook') diff --git a/initramfs/hook b/initramfs/hook index aa91469e..404a2499 100755 --- a/initramfs/hook +++ b/initramfs/hook @@ -16,3 +16,9 @@ esac . /usr/share/initramfs-tools/hook-functions +manual_add_modules 'bcachefs' + +# chacha20 and poly1305 are used for encrypted bcachefs filesystems. +add_loaded_modules 'chacha20[-_]*' +add_loaded_modules 'poly1305[-_]*' + -- cgit v1.2.3