cryptsetup: add host variant
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>
This commit is contained in:
parent
90cfc5f16a
commit
456cd09fb9
@ -6,6 +6,7 @@ menu "Host utilities"
|
||||
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"
|
||||
|
8
package/cryptsetup/Config.in.host
Normal file
8
package/cryptsetup/Config.in.host
Normal file
@ -0,0 +1,8 @@
|
||||
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
|
@ -28,4 +28,14 @@ else
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user