Merge pull request #9 from modelrockettier/master

Add chacha20 and poly1305 modules to initramfs
This commit is contained in:
koverstreet 2018-11-04 17:42:04 -05:00 committed by GitHub
commit f420a809b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -194,6 +194,11 @@ int main(int argc, char *argv[])
if (!strcmp(cmd, "list"))
return cmd_list(argc, argv);
if (!strcmp(cmd, "--help")) {
usage();
return 0;
}
printf("Unknown command %s\n", cmd);
usage();
exit(EXIT_FAILURE);

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