From 9441b93ca474b8112de490b96cbaf77e08a3be2d Mon Sep 17 00:00:00 2001 From: Norbert Lange Date: Wed, 24 Feb 2021 11:31:53 +0100 Subject: [PATCH] package/lttng-tools: set rundir to /run/lttng unconditionally Buildroot ensures that all init-systems have a /run directory, this should be the preferred location. Signed-off-by: Norbert Lange Signed-off-by: Thomas Petazzoni --- package/lttng-tools/lttng-tools.mk | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/package/lttng-tools/lttng-tools.mk b/package/lttng-tools/lttng-tools.mk index d66233414e..8789ded333 100644 --- a/package/lttng-tools/lttng-tools.mk +++ b/package/lttng-tools/lttng-tools.mk @@ -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 -- 2.30.2