From: Manuel Novoa III Date: Sun, 2 Nov 2003 02:09:13 +0000 (-0000) Subject: Make sure the root/etc/init.d directory is there. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0079e8b3d24fe68213a6226a80d42d0d24680f0f;p=buildroot.git Make sure the root/etc/init.d directory is there. --- diff --git a/make/openssh.mk b/make/openssh.mk index 8f37abd0c9..415835269d 100644 --- a/make/openssh.mk +++ b/make/openssh.mk @@ -59,6 +59,7 @@ $(OPENSSH_DIR)/ssh: $(OPENSSH_DIR)/.configured $(TARGET_DIR)/usr/bin/ssh: $(OPENSSH_DIR)/ssh $(MAKE) CC=$(TARGET_CC) DESTDIR=$(TARGET_DIR) -C $(OPENSSH_DIR) install + mkdir -p $(TARGET_DIR)/etc/init.d/ cp $(OPENSSH_DIR)/S50sshd $(TARGET_DIR)/etc/init.d/ chmod a+x $(TARGET_DIR)/etc/init.d/S50sshd rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc