projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50c6600
)
package/mcelog: install init systemd
author
Francois Perrad
<fperrad@gmail.com>
Sat, 19 Sep 2020 11:11:37 +0000
(13:11 +0200)
committer
Thomas Petazzoni
<thomas.petazzoni@bootlin.com>
Sat, 19 Sep 2020 12:14:01 +0000
(14:14 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/mcelog/mcelog.mk
patch
|
blob
|
history
diff --git
a/package/mcelog/mcelog.mk
b/package/mcelog/mcelog.mk
index dcabc2c96f1c36003c8f5d97e279b53598e94d41..9fbbbfb4d984309c96fd1ad2d0fe84e9e9ec5d02 100644
(file)
--- 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))