浏览代码

util-linux: disable systemd support

Fixes (works around) #8421

Util-linux has optional systemd support, but we cannot enable it as systemd
depends on util-linux, so that would create a circular dependency.

The systemd unit directory location detection also fails as pkg-config
0.9.12+ prefixes all directory variables with the sysroot, and the configure
script expects to see the target location, so disable that as well for good
measure.

The systemd support doesn't seem to add much, so it isn't a big loss.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard 9 年之前
父节点
当前提交
762b64daa2
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      package/util-linux/util-linux.mk

+ 6 - 0
package/util-linux/util-linux.mk

@@ -26,6 +26,12 @@ UTIL_LINUX_CONF_OPTS += \
 	--disable-makeinstall-chown \
 	--without-python
 
+# system depends on util-linux so we enable systemd support
+# (which needs systemd to be installed)
+UTIL_LINUX_CONF_OPTS += \
+	--without-systed \
+	--with-systemdsystemunitdir=no
+
 # We don't want the host-busybox dependency to be added automatically
 HOST_UTIL_LINUX_DEPENDENCIES = host-pkgconf