Make sure initramfs-tools adds chacha20 and poly1305 if loaded

This commit is contained in:
Tim Schlueter 2018-08-23 21:42:44 -07:00
parent f05f2e89a6
commit b4cc119f66

View File

@ -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[-_]*'