* [ptxdist] [PATCH] rsyslog: use install_alternative for service file
@ 2017-07-03 9:55 Bastian Stender
0 siblings, 0 replies; only message in thread
From: Bastian Stender @ 2017-07-03 9:55 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Stender
This allows overwriting the service file with a modified file in
projectroot/usr/lib/systemd/system/.
Signed-off-by: Bastian Stender <bst@pengutronix.de>
---
rules/rsyslog.make | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rules/rsyslog.make b/rules/rsyslog.make
index 0bcbe5b08..4dcd76954 100644
--- a/rules/rsyslog.make
+++ b/rules/rsyslog.make
@@ -177,7 +177,7 @@ $(STATEDIR)/rsyslog.targetinstall:
@$(call install_alternative, rsyslog, 0, 0, 0644, /etc/rsyslog.conf)
ifdef PTXCONF_RSYSLOG_SYSTEMD_UNIT
- @$(call install_copy, rsyslog, 0, 0, 0644, -, \
+ @$(call install_alternative, rsyslog, 0, 0, 0644, \
/usr/lib/systemd/system/rsyslog.service)
@$(call install_link, rsyslog, ../rsyslog.service, \
/usr/lib/systemd/system/multi-user.target.wants/rsyslog.service)
--
2.11.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-03 9:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-03 9:55 [ptxdist] [PATCH] rsyslog: use install_alternative for service file Bastian Stender
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox