]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - initramfs/hook
Make sure initramfs-tools adds chacha20 and poly1305 if loaded
[bcachefs-tools-debian] / initramfs / hook
index aa91469ef10565d4753ecca52c9e8339e2f004b3..404a249911b8ec70d92ed02e0a2f45b739ca8589 100755 (executable)
@@ -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[-_]*'
+