package/busybox: add BUSYBOX_INSTALL_INIT_OPENRC
authorCarlos Santos <unixmania@gmail.com>
Sat, 18 Apr 2020 21:39:23 +0000 (18:39 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 19 Apr 2020 14:29:08 +0000 (16:29 +0200)
Install the sysvinit scripts, for the moment, but not 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/busybox/busybox.mk

index b9d82ed71e034554018c0349828831a9c17c14fd..5d5f3e92bdd81ac70bf8068058dec7127e3609af 100644 (file)
@@ -355,6 +355,15 @@ define BUSYBOX_INSTALL_TARGET_CMDS
        $(BUSYBOX_INSTALL_MDEV_CONF)
 endef
 
+# Install the sysvinit scripts, for the moment, but not those that already
+# have a corresponding one in openrc.
+define BUSYBOX_INSTALL_INIT_OPENRC
+       $(BUSYBOX_INSTALL_MDEV_SCRIPT)
+       $(BUSYBOX_INSTALL_LOGGING_SCRIPT)
+       $(BUSYBOX_INSTALL_WATCHDOG_SCRIPT)
+       $(BUSYBOX_INSTALL_TELNET_SCRIPT)
+endef
+
 define BUSYBOX_INSTALL_INIT_SYSV
        $(BUSYBOX_INSTALL_MDEV_SCRIPT)
        $(BUSYBOX_INSTALL_LOGGING_SCRIPT)