package/cryptsetup: disable tmpfiles.d for host build

When building host-cryptsetup, if tmpfiles.d support is enabled then the
install step tries to install /usr/lib/tmpfiles.d/cryptsetup.conf
globally on the host system.

Even if the tmpfiles.d config were installed correctly in the host
directory, nothing would ever run these rules, so disable this feature
via configure.

Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
John Keeping 2021-05-07 16:21:59 +01:00 committed by Peter Korsgaard
parent f70e6474e5
commit b2e82f9fa5

View File

@ -43,7 +43,8 @@ HOST_CRYPTSETUP_DEPENDENCIES = \
HOST_CRYPTSETUP_CONF_OPTS = --with-crypto_backend=openssl \
--disable-kernel_crypto \
--enable-blkid
--enable-blkid \
--with-tmpfilesdir=no
$(eval $(autotools-package))
$(eval $(host-autotools-package))