This allows overwriting the service file with a modified file in
projectroot/usr/lib/systemd/system/.

Signed-off-by: Bastian Stender <b...@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 via email to