Browse Source

- sysvinit: fix install; create missign /run directory

master
vanhofen 5 years ago
parent
commit
2f949745a0
  1. 2
      make/target-tools.mk

2
make/target-tools.mk

@ -1811,6 +1811,8 @@ define SYSVINIT_INSTALL
ln -sf /sbin/halt $(TARGET_DIR)/sbin/reboot ln -sf /sbin/halt $(TARGET_DIR)/sbin/reboot
ln -sf /sbin/halt $(TARGET_DIR)/sbin/poweroff ln -sf /sbin/halt $(TARGET_DIR)/sbin/poweroff
ln -sf /sbin/killall5 $(TARGET_DIR)/sbin/pidof ln -sf /sbin/killall5 $(TARGET_DIR)/sbin/pidof
# needed to create /run/initctl on startup
mkdir -p $(TARGET_DIR)/run
endef endef
sysvinit: $(ARCHIVE)/$(SYSVINIT_SOURCE) | $(TARGET_DIR) sysvinit: $(ARCHIVE)/$(SYSVINIT_SOURCE) | $(TARGET_DIR)

Loading…
Cancel
Save