All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/rsyslog: fix wrong symlink for systemd service
Date: Sun, 24 Sep 2017 16:14:29 +0200	[thread overview]
Message-ID: <ee432188-a035-f7c2-91f6-e195dae13098@mind.be> (raw)
In-Reply-To: <1505902234-4876-1-git-send-email-brain@jikos.cz>



On 20-09-17 12:10, Petr Kulhavy wrote:
> The symlink to /etc/systemd/system/syslog.service was pointing 4 levels up
> to /usr/lib instead of 3 levels up.
> 
> This wasn't an issue on the actual system (/../ equals to / ) but was causing a
> deadlink in the TARGET directory.
> 
> Signed-off-by: Petr Kulhavy <brain@jikos.cz>

 Applied to master, thanks.

 Regards,
 Arnout

> ---
>  package/rsyslog/rsyslog.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/rsyslog/rsyslog.mk b/package/rsyslog/rsyslog.mk
> index bbf7d95..e32505b 100644
> --- a/package/rsyslog/rsyslog.mk
> +++ b/package/rsyslog/rsyslog.mk
> @@ -91,7 +91,7 @@ define RSYSLOG_INSTALL_INIT_SYSTEMD
>  	mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
>  	ln -sf ../../../../usr/lib/systemd/system/rsyslog.service \
>  		$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/rsyslog.service
> -	ln -sf ../../../../usr/lib/systemd/system/rsyslog.service \
> +	ln -sf ../../../usr/lib/systemd/system/rsyslog.service \
>  		$(TARGET_DIR)/etc/systemd/system/syslog.service
>  endef
>  
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

  reply	other threads:[~2017-09-24 14:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-20 10:10 [Buildroot] [PATCH 1/1] package/rsyslog: fix wrong symlink for systemd service Petr Kulhavy
2017-09-24 14:14 ` Arnout Vandecappelle [this message]
2017-10-16 22:02 ` Peter Korsgaard

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=ee432188-a035-f7c2-91f6-e195dae13098@mind.be \
    --to=arnout@mind.be \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.