[Buildroot] [git commit] package/busybox: add BUSYBOX_INSTALL_INIT_OPENRC

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Apr 19 14:29:08 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=5a8f2da98d631af66b5b618067728c23920ba3fa
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Install the sysvinit scripts, for the moment, but not S02sysctl, since
openrc provides /etc/init.d/sysctl.

Signed-off-by: Carlos Santos <unixmania at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/busybox/busybox.mk | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index b9d82ed71e..5d5f3e92bd 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -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)


More information about the buildroot mailing list