]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
Make sure initramfs-tools adds chacha20 and poly1305 if loaded
authorTim Schlueter <schlueter.tim@linux.com>
Fri, 24 Aug 2018 04:42:44 +0000 (21:42 -0700)
committerTim Schlueter <schlueter.tim@linux.com>
Sun, 4 Nov 2018 21:07:01 +0000 (13:07 -0800)
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[-_]*'
+