Skip to contentSkip to conversation

sysvinit: install using the Makefile, so we don't miss half the tools

PATCH New heiko at zuerker.org 1 participant 1 message Dec 17, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sysvinit: install using the Makefile, so we don't miss half the tools

From: Heiko Zuerker <[email protected]>

---
 package/sysvinit/sysvinit.mk |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
package/sysvinit/sysvinit.mk +1 -3
index b22f0f2..83ae1a3 100644
@@ -28,9 +28,7 @@ define SYSVINIT_BUILD_CMDS
 endef
 
 define SYSVINIT_INSTALL_TARGET_CMDS
-	for x in halt init shutdown; do \
-		install -D -m 0755 $(@D)/src/$$x $(TARGET_DIR)/sbin/$$x || exit 1; \
-	done
+	make -C $(@D) install ROOT=$(TARGET_DIR)
 	# Override Busybox's inittab with an inittab compatible with
 	# sysvinit
 	install -D -m 0644 package/sysvinit/inittab $(TARGET_DIR)/etc/inittab
Signature · 1 line
1.7.3.2