From 3945226a7e29c9f811fbe145ea792b18f3a5daa2 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Thu, 19 Dec 2019 11:01:35 -0800 Subject: [PATCH] package/openrc: install sysv-rcs file package/openrc has the file sysv-rcs which starts sysvinit services not written for openrc. However, currently it is not installed to the target. Install this file to $(TARGET_DIR)/etc/init.d during the target_install step. Signed-off-by: Adam Duskett [yann.morin.1998@free.fr: use full-path for destination, not just dir] Signed-off-by: Yann E. MORIN --- package/openrc/openrc.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 387962d4d5..3f6453cef5 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -35,6 +35,8 @@ endef define OPENRC_INSTALL_TARGET_CMDS $(MAKE) $(OPENRC_MAKE_OPTS) DESTDIR=$(TARGET_DIR) -C $(@D) install + $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ + $(TARGET_DIR)/etc/init.d/sysv-rcs endef ifeq ($(BR2_PACKAGE_NETIFRC),y) -- 2.30.2