|
@@ -81,6 +81,12 @@ define DROPBEAR_DISABLE_STANDALONE
|
|
echo '#define NON_INETD_MODE 0' >> $(@D)/localoptions.h
|
|
echo '#define NON_INETD_MODE 0' >> $(@D)/localoptions.h
|
|
endef
|
|
endef
|
|
|
|
|
|
|
|
+define DROPBEAR_CUSTOM_PATH
|
|
|
|
+ echo '#define DEFAULT_PATH $(BR2_SYSTEM_DEFAULT_PATH)' >>$(@D)/localoptions.h
|
|
|
|
+endef
|
|
|
|
+
|
|
|
|
+DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_CUSTOM_PATH
|
|
|
|
+
|
|
define DROPBEAR_INSTALL_INIT_SYSTEMD
|
|
define DROPBEAR_INSTALL_INIT_SYSTEMD
|
|
$(INSTALL) -D -m 644 package/dropbear/dropbear.service \
|
|
$(INSTALL) -D -m 644 package/dropbear/dropbear.service \
|
|
$(TARGET_DIR)/usr/lib/systemd/system/dropbear.service
|
|
$(TARGET_DIR)/usr/lib/systemd/system/dropbear.service
|