package/lttng-libust: set rundir to /run/lttng unconditionally
authorNorbert Lange <nolange79@gmail.com>
Wed, 24 Feb 2021 10:31:52 +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-libust/lttng-libust.mk

index 69dc4473f044640c09a66d1db33e2d3eedfcdf05..608e8781b19c4373d4c9e081906cfaad5637438c 100644 (file)
@@ -11,11 +11,10 @@ LTTNG_LIBUST_LICENSE = LGPL-2.1, MIT (system headers), GPL-2.0 (liblttng-ust-ctl
 LTTNG_LIBUST_LICENSE_FILES = COPYING
 LTTNG_LIBUST_INSTALL_STAGING = YES
 LTTNG_LIBUST_DEPENDENCIES = liburcu util-linux
-LTTNG_LIBUST_CONF_OPTS += --disable-man-pages --disable-examples
-
-ifeq ($(BR2_INIT_SYSTEMD),y)
-LTTNG_LIBUST_CONF_OPTS += --with-lttng-system-rundir=/run/lttng
-endif
+LTTNG_LIBUST_CONF_OPTS = \
+       --disable-man-pages \
+       --disable-examples \
+       --with-lttng-system-rundir=/run/lttng
 
 ifeq ($(BR2_PACKAGE_PYTHON),y)
 LTTNG_LIBUST_DEPENDENCIES += python