[Buildroot] [PATCH 3/5] rsyslog: fix systemd service installation
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Apr 22 20:53:24 UTC 2015
Dear Mike Williams,
On Tue, 21 Apr 2015 13:50:36 -0400, Mike Williams wrote:
> define RSYSLOG_INSTALL_INIT_SYSTEMD
> - ln -sf /lib/systemd/system/rsyslog.service \
> + mkdir -p $(TARGET_DIR)/etc/systemd/system
> + ln -fs ../../../usr/lib/systemd/system/rsyslog.service \
> $(TARGET_DIR)/etc/systemd/system/syslog.service
Why are we doing this link? In all other systemd service installation,
we:
1/ install to /usr/lib/systemd/system/ when the service file has not
been installed by the package build system itself.
2/ create a symlink
from /etc/systemd/system/multi-user.target.wants/<foo>.service
to /usr/lib/systemd/system/rsyslog.service
Why would we need this additional symlink here?
(Remember that when you're talking to me, you're talking to a complete
system newbie.)
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list