package/mcelog: install init systemd

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad 2020-09-19 13:11:37 +02:00 committed by Thomas Petazzoni
parent 50c6600367
commit e9123b9027

View File

@ -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))