7 add_module
'dm-integrity'
8 if [[ $CRYPTO_MODULES ]]; then
9 for mod
in $CRYPTO_MODULES; do
13 add_all_modules
'/crypto/'
16 add_binary
'cryptsetup'
21 '95-dm-notify.rules' \
22 '/usr/lib/initcpio/udev/11-dm-initramfs.rules'
24 # cryptsetup calls pthread_create(), which dlopen()s libgcc_s.so.1
25 add_binary
'/usr/lib/libgcc_s.so.1'
27 # cryptsetup loads the legacy provider which is required for whirlpool
28 add_binary
'/usr/lib/ossl-modules/legacy.so'
35 This hook allows for an encrypted root device. Users should specify the device
36 to be unlocked using 'cryptdevice=device:dmname' on the kernel command line,
37 where 'device' is the path to the raw device, and 'dmname' is the name given to
38 the device after unlocking, and will be available as /dev/mapper/dmname.
40 For unlocking via keyfile, 'cryptkey=device:fstype:path' should be specified on
41 the kernel cmdline, where 'device' represents the raw block device where the key
42 exists, 'fstype' is the filesystem type of 'device' (or auto), and 'path' is
43 the absolute path of the keyfile within the device.
45 Without specifying a keyfile, you will be prompted for the password at runtime.
46 This means you must have a keyboard available to input it, and you may need
47 the keymap hook as well to ensure that the keyboard is using the layout you
52 # vim: set ft=sh ts=4 sw=4 et: