From: Francois Perrad Date: Sat, 19 Sep 2020 11:11:37 +0000 (+0200) Subject: package/mcelog: install init systemd X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9123b9027739de54276d2bd7c4369b5b2f9f6e3;p=buildroot.git package/mcelog: install init systemd Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- 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))