From e9123b9027739de54276d2bd7c4369b5b2f9f6e3 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 19 Sep 2020 13:11:37 +0200 Subject: [PATCH] package/mcelog: install init systemd Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- package/mcelog/mcelog.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/mcelog/mcelog.mk b/package/mcelog/mcelog.mk index dcabc2c96f..9fbbbfb4d9 100644 --- a/package/mcelog/mcelog.mk +++ b/package/mcelog/mcelog.mk @@ -17,4 +17,9 @@ define MCELOG_INSTALL_TARGET_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) DESTDIR=$(TARGET_DIR) install endef +define MCELOG_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/mcelog.service \ + $(TARGET_DIR)/usr/lib/systemd/system/mcelog.service +endef + $(eval $(generic-package)) -- 2.30.2