Browse Source

- sysvinit: install runlevel binary too

master
vanhofen 4 years ago
parent
commit
4d663d3f63
  1. 2
      make/target-tools.mk

2
make/target-tools.mk

@ -1799,7 +1799,7 @@ $(DL_DIR)/$(SYSVINIT_SOURCE):
$(DOWNLOAD) $(SYSVINIT_SITE)/$(SYSVINIT_SOURCE) $(DOWNLOAD) $(SYSVINIT_SITE)/$(SYSVINIT_SOURCE)
define SYSVINIT_INSTALL define SYSVINIT_INSTALL
for sbin in halt init shutdown killall5; do \ for sbin in halt init shutdown killall5 runlevel; do \
$(INSTALL_EXEC) -D $(BUILD_DIR)/$(SYSVINIT_DIR)/src/$$sbin $(TARGET_DIR)/sbin/$$sbin || exit 1; \ $(INSTALL_EXEC) -D $(BUILD_DIR)/$(SYSVINIT_DIR)/src/$$sbin $(TARGET_DIR)/sbin/$$sbin || exit 1; \
done done
ln -sf /sbin/halt $(TARGET_DIR)/sbin/reboot ln -sf /sbin/halt $(TARGET_DIR)/sbin/reboot

Loading…
Cancel
Save