package/lttng-tools: set rundir to /run/lttng unconditionally
authorNorbert Lange <nolange79@gmail.com>
Wed, 24 Feb 2021 10:31:53 +0000 (11:31 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 6 Mar 2021 22:32:14 +0000 (23:32 +0100)
Buildroot ensures that all init-systems have a /run directory,
this should be the preferred location.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/lttng-tools/lttng-tools.mk

index d66233414e3ae5d2338d6dc49bad6e42ce26acc8..8789ded333378e59f19bbdfdbeb439a07d31e1e1 100644 (file)
@@ -10,12 +10,10 @@ LTTNG_TOOLS_SOURCE = lttng-tools-$(LTTNG_TOOLS_VERSION).tar.bz2
 LTTNG_TOOLS_INSTALL_STAGING = YES
 LTTNG_TOOLS_LICENSE = GPL-2.0, LGPL-2.1 (include/lttng/*, src/lib/lttng-ctl/*)
 LTTNG_TOOLS_LICENSE_FILES = LICENSE $(addprefix LICENSES/,BSD-2-Clause BSD-3-Clause GPL-2.0 LGPL-2.1 MIT)
-LTTNG_TOOLS_CONF_OPTS += --disable-man-pages
 LTTNG_TOOLS_DEPENDENCIES = liburcu libxml2 popt util-linux
-
-ifeq ($(BR2_INIT_SYSTEMD),y)
-LTTNG_TOOLS_CONF_OPTS += --with-lttng-system-rundir=/run/lttng
-endif
+LTTNG_TOOLS_CONF_OPTS = \
+       --disable-man-pages \
+       --with-lttng-system-rundir=/run/lttng
 
 ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y)
 LTTNG_TOOLS_CONF_OPTS += --with-lttng-ust