浏览代码

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>
(cherry picked from commit b2e82f9fa5fc7ab60ad2965edb404362b37673dd)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
John Keeping 4 年之前
父节点
当前提交
2ca165f46b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      package/cryptsetup/cryptsetup.mk

+ 2 - 1
package/cryptsetup/cryptsetup.mk

@@ -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))