package/procps-ng: add PROCPS_NG_INSTALL_INIT_OPENRC
authorCarlos Santos <unixmania@gmail.com>
Thu, 5 Mar 2020 10:55:21 +0000 (07:55 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 19 Apr 2020 21:17:29 +0000 (23:17 +0200)
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>
package/procps-ng/procps-ng.mk

index 6a41e9b32266a0bb01826215be56310e3c8c3abe..5bafc7ee9736a31ee1e34dddbd243d53557f8fef 100644 (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