From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/5] rsyslog: fix systemd service installation
Date: Wed, 22 Apr 2015 22:53:24 +0200 [thread overview]
Message-ID: <20150422225324.0612190c@free-electrons.com> (raw)
In-Reply-To: <1429638638-28695-4-git-send-email-mike@mikebwilliams.com>
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
next prev parent reply other threads:[~2015-04-22 20:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-21 17:50 [Buildroot] [PATCH 0/5] systemd service file cleanups Mike Williams
2015-04-21 17:50 ` [Buildroot] [PATCH 1/5] avahi: systemd cleanups Mike Williams
2015-04-22 20:19 ` Thomas Petazzoni
2015-04-21 17:50 ` [Buildroot] [PATCH 2/5] psplash: move systemd service files to /usr/lib Mike Williams
2015-04-22 20:51 ` Thomas Petazzoni
2015-04-21 17:50 ` [Buildroot] [PATCH 3/5] rsyslog: fix systemd service installation Mike Williams
2015-04-22 20:53 ` Thomas Petazzoni [this message]
2015-04-21 17:50 ` [Buildroot] [PATCH 4/5] ofono: enable systemd service by default Mike Williams
2015-04-22 20:56 ` Thomas Petazzoni
2015-04-21 17:50 ` [Buildroot] [PATCH 5/5] connman: " Mike Williams
2015-04-22 20:56 ` Thomas Petazzoni
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=20150422225324.0612190c@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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