All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/rsyslog: fix wrong symlink for systemd service
@ 2017-09-20 10:10 Petr Kulhavy
  2017-09-24 14:14 ` Arnout Vandecappelle
  2017-10-16 22:02 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Petr Kulhavy @ 2017-09-20 10:10 UTC (permalink / raw)
  To: buildroot

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>
---
 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
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/rsyslog: fix wrong symlink for systemd service
  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
  2017-10-16 22:02 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2017-09-24 14:14 UTC (permalink / raw)
  To: buildroot



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/rsyslog: fix wrong symlink for systemd service
  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
@ 2017-10-16 22:02 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2017-10-16 22:02 UTC (permalink / raw)
  To: buildroot

>>>>> "Petr" == Petr Kulhavy <brain@jikos.cz> writes:

 > 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>

Committed to 2017.08.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-16 22:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2017-10-16 22:02 ` Peter Korsgaard

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.