|
@@ -14,4 +14,12 @@ define HAVEGED_INSTALL_INIT_SYSV
|
|
|
$(TARGET_DIR)/etc/init.d/S21haveged
|
|
|
endef
|
|
|
|
|
|
+define HAVEGED_INSTALL_INIT_SYSTEMD
|
|
|
+ $(INSTALL) -D -m 644 package/haveged/haveged.service \
|
|
|
+ $(TARGET_DIR)/usr/lib/systemd/system/haveged.service
|
|
|
+ mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
|
|
+ ln -fs /usr/lib/systemd/system/haveged.service \
|
|
|
+ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/haveged.service
|
|
|
+endef
|
|
|
+
|
|
|
$(eval $(autotools-package))
|