When 'cryptsetup' PACKAGECONFIG is enabled for systemd, there would
be circular dependency issue among 'systemd', 'cryptsetup' and 'lvm2'.
To fix this problem, we've separated libdevmapper into a new recipe.
Let cryptsetup depend on libdevmapper instead of lvm2 to fix the issue.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Useful for setting up dm-verity during a build.
"native-sdk" gets added just in case that this may also be used in an
SDK.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
cryptsetup luksOpen (luksFormat) uses xts by default.
When the module is not installed, cryptsetup prints:
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info)
Signed-off-by: Bogdan Hopulele <bogdan.hopulele@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>