openssh: convert old-style hook to new-style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c648785b93
commit
2a784080ad
@ -14,8 +14,10 @@ OPENSSH_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
||||
|
||||
OPENSSH_DEPENDENCIES = zlib openssl
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,openssh))
|
||||
|
||||
$(OPENSSH_HOOK_POST_INSTALL):
|
||||
define OPENSSH_INSTALL_INITSCRIPT
|
||||
$(INSTALL) -D -m 755 package/openssh/S50sshd $(TARGET_DIR)/etc/init.d/S50sshd
|
||||
touch $@
|
||||
endef
|
||||
|
||||
OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_INITSCRIPT
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,openssh))
|
||||
|
Loading…
Reference in New Issue
Block a user