diff options
author | Bastian Krause <bst@pengutronix.de> | 2019-02-08 10:12:19 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-02-13 08:56:45 +0100 |
commit | f817a165eb5203372e8eb7d5d997afe2227a3185 (patch) | |
tree | a105b1f068cb0f5ea5b29ab963ad2fb2d68a15fb /rules/host-cryptsetup.make | |
parent | 2d8fe599d1f0ce8336807ecf3e43b9e7e3fe84dc (diff) | |
download | ptxdist-f817a165eb5203372e8eb7d5d997afe2227a3185.tar.gz ptxdist-f817a165eb5203372e8eb7d5d997afe2227a3185.tar.xz |
host-cryptsetup: new package
This is useful for offline hash data creation for dm-verity based
filesystems with veritysetup. Everything else is disabled for now.
openssl is used as crypto backend because host-openssl is enabled in
most cases anyway.
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-cryptsetup.make')
-rw-r--r-- | rules/host-cryptsetup.make | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/rules/host-cryptsetup.make b/rules/host-cryptsetup.make new file mode 100644 index 000000000..e2d0c2d62 --- /dev/null +++ b/rules/host-cryptsetup.make @@ -0,0 +1,48 @@ +# -*-makefile-*- +# +# Copyright (C) 2019 by Bastian Krause <bst@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_CRYPTSETUP) += host-cryptsetup + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +HOST_CRYPTSETUP_CONF_TOOL := autoconf +HOST_CRYPTSETUP_CONF_OPT := \ + $(HOST_AUTOCONF) \ + --disable-keyring \ + --disable-nls \ + --disable-rpath \ + --disable-fips \ + --disable-pwquality \ + --disable-static-cryptsetup \ + --disable-cryptsetup \ + --enable-veritysetup \ + --disable-cryptsetup-reencrypt \ + --disable-integritysetup \ + --disable-selinux \ + --disable-udev \ + --disable-kernel_crypto \ + --disable-gcrypt-pbkdf2 \ + --enable-internal-argon2 \ + --disable-libargon2 \ + --disable-internal-sse-argon2 \ + --enable-blkid \ + --enable-dev-random \ + --disable-python \ + --with-crypto_backend=openssl + +# vim: syntax=make |