E.G. for generating dm-verity hashes or dm-crypt data at build time in a
post-image script.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
source "package/checkpolicy/Config.in.host"
source "package/cmake/Config.in.host"
source "package/cramfs/Config.in.host"
+ source "package/cryptsetup/Config.in.host"
source "package/dfu-util/Config.in.host"
source "package/dos2unix/Config.in.host"
source "package/dosfstools/Config.in.host"
--- /dev/null
+config BR2_PACKAGE_HOST_CRYPTSETUP
+ bool "host-cryptsetup"
+ select BR2_PACKAGE_HOST_UTIL_LINUX
+ help
+ This tool helps manipulate dm-crypt and luks partitions for
+ on-disk encryption.
+
+ https://gitlab.com/cryptsetup/cryptsetup
CRYPTSETUP_CONF_OPTS += --with-crypto_backend=kernel
endif
+HOST_CRYPTSETUP_DEPENDENCIES = \
+ host-pkgconf \
+ host-lvm2 \
+ host-popt \
+ host-util-linux \
+ host-openssl
+
+HOST_CRYPTSETUP_CONF_OPTS = --with-crypto-backend=openssl
+
$(eval $(autotools-package))
+$(eval $(host-autotools-package))