package/lttng-{libust, tools}: use proper systemd rundir
Set the rundir to /run/lttng, if systemd is the init system. /var/run is "legacy" in systemd's view. Signed-off-by: Norbert Lange <nolange79@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
c560bcd52b
commit
8c393d2c6f
@ -13,6 +13,10 @@ 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
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
LTTNG_LIBUST_DEPENDENCIES += python
|
||||
LTTNG_LIBUST_CONF_OPTS += --enable-python-agent
|
||||
|
@ -13,6 +13,10 @@ LTTNG_TOOLS_LICENSE_FILES = LICENSE $(addprefix LICENSES/,BSD-2-Clause BSD-3-Cla
|
||||
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
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y)
|
||||
LTTNG_TOOLS_CONF_OPTS += --with-lttng-ust
|
||||
LTTNG_TOOLS_DEPENDENCIES += lttng-libust
|
||||
|
Loading…
Reference in New Issue
Block a user