[Buildroot] [git commit branch/2021.02.x] package/lttng-tools: set rundir to /run/lttng unconditionally

Peter Korsgaard peter at korsgaard.com
Wed Mar 17 19:11:06 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=94e117e78be63866182310922505aa2c51ec2b14
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x

Buildroot ensures that all init-systems have a /run directory,
this should be the preferred location.

Signed-off-by: Norbert Lange <nolange79 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 9441b93ca474b8112de490b96cbaf77e08a3be2d)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 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 e0e99e3270..54f7ccdfa1 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


More information about the buildroot mailing list