package/procps-ng: add PROCPS_NG_INSTALL_INIT_OPENRC

Avoid installing S02sysctl, since openrc provides /etc/init.d/sysctl.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Carlos Santos 2020-03-05 07:55:21 -03:00 committed by Thomas Petazzoni
parent fb7fd98774
commit 976331dc5d

View File

@ -44,6 +44,11 @@ ifeq ($(BR2_STATIC_LIBS),y)
PROCPS_NG_CONF_OPTS += --disable-numa
endif
# Avoid installing S02sysctl, since openrc provides /etc/init.d/sysctl.
define PROCPS_NG_INSTALL_INIT_OPENRC
@:
endef
define PROCPS_NG_INSTALL_INIT_SYSV
$(INSTALL) -D -m 755 package/procps-ng/S02sysctl \
$(TARGET_DIR)/etc/init.d/S02sysctl