Make sure the root/etc/init.d directory is there.
This commit is contained in:
parent
e93cda4d39
commit
0079e8b3d2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user