From: Bastian Stender <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Stender <bst@pengutronix.de>
Subject: [ptxdist] [PATCH] rsyslog: use install_alternative for service file
Date: Mon, 3 Jul 2017 11:55:36 +0200 [thread overview]
Message-ID: <20170703095536.21438-1-bst@pengutronix.de> (raw)
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
reply other threads:[~2017-07-03 9:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170703095536.21438-1-bst@pengutronix.de \
--to=bst@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox