|
@@ -18,4 +18,12 @@ define IUCODE_TOOL_INSTALL_INIT_SYSV
|
|
|
$(TARGET_DIR)/etc/init.d/S00iucode-tool
|
|
|
endef
|
|
|
|
|
|
+define IUCODE_TOOL_INSTALL_INIT_SYSTEMD
|
|
|
+ $(INSTALL) -D -m 644 package/iucode-tool/iucode.service \
|
|
|
+ $(TARGET_DIR)/usr/lib/systemd/system/iucode.service
|
|
|
+ mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
|
|
+ ln -sf ../../../../usr/lib/systemd/system/iucode.service \
|
|
|
+ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/iucode.service
|
|
|
+endef
|
|
|
+
|
|
|
$(eval $(autotools-package))
|