5 if [ -z "${CRYPTO_MODULES}" ]; then
6 MODULES=" dm-crypt $(all_modules "/crypto/") "
8 MODULES=" dm-crypt ${CRYPTO_MODULES} "
12 [ -f "/sbin/cryptsetup" ] && add_binary "/sbin/cryptsetup" "/sbin/cryptsetup"
13 [ -f "/usr/sbin/cryptsetup" ] && add_binary "/usr/sbin/cryptsetup" "/sbin/cryptsetup"
14 add_binary "/sbin/dmsetup"
15 add_file "/lib/udev/rules.d/10-dm.rules"
16 add_file "/lib/udev/rules.d/13-dm-disk.rules"
17 add_file "/lib/udev/rules.d/95-dm-notify.rules"
18 add_file "/lib/initcpio/udev/11-dm-initramfs.rules" "/lib/udev/rules.d/11-dm-initramfs.rules"
24 This hook allows for an encrypted root device.