summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/sysvinit/sysvinit.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/sysvinit/sysvinit.mk b/package/sysvinit/sysvinit.mk
index bb234327e..a99111d88 100644
--- a/package/sysvinit/sysvinit.mk
+++ b/package/sysvinit/sysvinit.mk
@@ -9,13 +9,11 @@ SYSVINIT_SITE:=ftp://ftp.cistron.nl/pub/people/miquels/software
SYSVINIT_DIR:=$(BUILD_DIR)/sysvinit-$(SYSVINIT_VERSION)
SYSVINIT_CAT:=$(ZCAT)
SYSVINIT_BINARY:=src/init
-SYSVINIT_TARGET_BINARY:=bin/init
+SYSVINIT_TARGET_BINARY:=sbin/init
$(DL_DIR)/$(SYSVINIT_SOURCE):
$(WGET) -P $(DL_DIR) $(SYSVINIT_SITE)/$(SYSVINIT_SOURCE)
-sysvinit-source: $(DL_DIR)/$(SYSVINIT_SOURCE)
-
sysvinit-unpacked: $(SYSVINIT_DIR)/.unpacked
$(SYSVINIT_DIR)/.unpacked: $(DL_DIR)/$(SYSVINIT_SOURCE)
$(SYSVINIT_CAT) $(DL_DIR)/$(SYSVINIT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
@@ -32,6 +30,8 @@ $(TARGET_DIR)/$(SYSVINIT_TARGET_BINARY): $(SYSVINIT_DIR)/$(SYSVINIT_BINARY)
sysvinit: uclibc ncurses $(TARGET_DIR)/$(SYSVINIT_TARGET_BINARY)
+sysvinit-source: $(DL_DIR)/$(SYSVINIT_SOURCE)
+
sysvinit-clean:
for x in halt init shutdown ; do \
rm -f $(TARGET_DIR)/sbin/$$x || exit 1 ; \