All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] systemd: add compatibility symlink for 'shutdown'
@ 2018-04-13 12:18 Anssi Hannula
  2018-04-13 16:43 ` Yann E. MORIN
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Anssi Hannula @ 2018-04-13 12:18 UTC (permalink / raw)
  To: buildroot

In addition to the 'halt', 'poweroff', 'reboot' symlinks pointing to
systemctl, add 'shutdown'.

Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi>
---
 package/systemd/systemd.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 3bc322c..9600fe9 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -329,6 +329,7 @@ define SYSTEMD_INSTALL_INIT_HOOK
 	ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/halt
 	ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/poweroff
 	ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/reboot
+	ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/shutdown
 	ln -fs ../../../lib/systemd/system/multi-user.target \
 		$(TARGET_DIR)/etc/systemd/system/default.target
 endef
-- 
2.8.3

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

* [Buildroot] [PATCH] systemd: add compatibility symlink for 'shutdown'
  2018-04-13 12:18 [Buildroot] [PATCH] systemd: add compatibility symlink for 'shutdown' Anssi Hannula
@ 2018-04-13 16:43 ` Yann E. MORIN
  2018-04-15 19:12 ` Thomas Petazzoni
  2018-05-01  6:52 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2018-04-13 16:43 UTC (permalink / raw)
  To: buildroot

Anssi, All,

On 2018-04-13 15:18 +0300, Anssi Hannula spake thusly:
> In addition to the 'halt', 'poweroff', 'reboot' symlinks pointing to
> systemctl, add 'shutdown'.
> 
> Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/systemd/systemd.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
> index 3bc322c..9600fe9 100644
> --- a/package/systemd/systemd.mk
> +++ b/package/systemd/systemd.mk
> @@ -329,6 +329,7 @@ define SYSTEMD_INSTALL_INIT_HOOK
>  	ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/halt
>  	ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/poweroff
>  	ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/reboot
> +	ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/shutdown
>  	ln -fs ../../../lib/systemd/system/multi-user.target \
>  		$(TARGET_DIR)/etc/systemd/system/default.target
>  endef
> -- 
> 2.8.3
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH] systemd: add compatibility symlink for 'shutdown'
  2018-04-13 12:18 [Buildroot] [PATCH] systemd: add compatibility symlink for 'shutdown' Anssi Hannula
  2018-04-13 16:43 ` Yann E. MORIN
@ 2018-04-15 19:12 ` Thomas Petazzoni
  2018-05-01  6:52 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2018-04-15 19:12 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 13 Apr 2018 15:18:30 +0300, Anssi Hannula wrote:
> In addition to the 'halt', 'poweroff', 'reboot' symlinks pointing to
> systemctl, add 'shutdown'.
> 
> Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi>
> ---
>  package/systemd/systemd.mk | 1 +
>  1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH] systemd: add compatibility symlink for 'shutdown'
  2018-04-13 12:18 [Buildroot] [PATCH] systemd: add compatibility symlink for 'shutdown' Anssi Hannula
  2018-04-13 16:43 ` Yann E. MORIN
  2018-04-15 19:12 ` Thomas Petazzoni
@ 2018-05-01  6:52 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2018-05-01  6:52 UTC (permalink / raw)
  To: buildroot

>>>>> "Anssi" == Anssi Hannula <anssi.hannula@bitwise.fi> writes:

 > In addition to the 'halt', 'poweroff', 'reboot' symlinks pointing to
 > systemctl, add 'shutdown'.

 > Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi>

Committed to 2018.02.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2018-05-01  6:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-13 12:18 [Buildroot] [PATCH] systemd: add compatibility symlink for 'shutdown' Anssi Hannula
2018-04-13 16:43 ` Yann E. MORIN
2018-04-15 19:12 ` Thomas Petazzoni
2018-05-01  6:52 ` 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.