diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-09-28 12:50:02 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-10-01 11:11:41 +0200 |
commit | f082a909ef9395622664774427efe859ff701e00 (patch) | |
tree | 7ed839b6fc3dfe763f43f33bf216bcfebee88d0d /rules/cryptsetup.in | |
parent | 3ee522b06e41b3b4da9490b06859a62a23fca18e (diff) | |
download | ptxdist-f082a909ef9395622664774427efe859ff701e00.tar.gz ptxdist-f082a909ef9395622664774427efe859ff701e00.tar.xz |
cryptsetup: new package
This adds support for the cryptsetup tools to ptxdist.
Cryptsetup is a utility used to conveniently setup disk encryption based
on DMCrypt kernel module.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/cryptsetup.in')
-rw-r--r-- | rules/cryptsetup.in | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/rules/cryptsetup.in b/rules/cryptsetup.in new file mode 100644 index 000000000..551280d50 --- /dev/null +++ b/rules/cryptsetup.in @@ -0,0 +1,42 @@ +## SECTION=disk_and_file + +menuconfig CRYPTSETUP + select LVM2 + select LIBUUID + select LIBPOPT + select LIBGCRYPT if CRYPTSETUP_CRYPT_BACKEND_GCRYPT + select OPENSSL if CRYPTSETUP_CRYPT_BACKEND_OPENSSL + select NETTLE if CRYPTSETUP_CRYPT_BACKEND_NETTLE + tristate + prompt "cryptsetup " + help + Cryptsetup is a utility used to conveniently setup disk encryption + based on DMCrypt kernel module. + +if CRYPTSETUP + +choice + prompt "Crypto backend" + + config CRYPTSETUP_CRYPT_BACKEND_KERNEL + bool "kernel" + + config CRYPTSETUP_CRYPT_BACKEND_GCRYPT + bool "gcrypt" + + config CRYPTSETUP_CRYPT_BACKEND_OPENSSL + bool "openssl" + + config CRYPTSETUP_CRYPT_BACKEND_NETTLE + bool "nettle" +endchoice + +config CRYPTSETUP_CRYPTSETUP + bool + prompt "install cryptsetup" + +config CRYPTSETUP_VERITYSETUP + bool + prompt "install veritysetup" + +endif |