* [Buildroot] [PATCH 1/2] package/systemd: fix typos in comments
@ 2023-08-03 7:37 Luca Ceresoli via buildroot
2023-08-03 7:37 ` [Buildroot] [PATCH 2/2] package/systemd: fix wrong variable name in comment Luca Ceresoli via buildroot
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Luca Ceresoli via buildroot @ 2023-08-03 7:37 UTC (permalink / raw)
To: buildroot; +Cc: Norbert Lange, Luca Ceresoli, Yann E . MORIN, Sen Hastings
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
package/systemd/systemd.mk | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 0aa1da3fb80c..86b1715076a9 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -661,9 +661,9 @@ SYSTEMD_TARGET_FINALIZE_HOOKS += \
SYSTEMD_INSTALL_RESOLVCONF_HOOK
ifneq ($(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)),)
-# systemd provides multiple units to autospawn getty as neede
+# systemd provides multiple units to autospawn getty as needed
# * getty@.service to start a getty on normal TTY
-# * sertial-getty@.service to start a getty on serial lines
+# * serial-getty@.service to start a getty on serial lines
# * console-getty.service for generic /dev/console
# * container-getty@.service for a getty on /dev/pts/*
#
@@ -671,7 +671,7 @@ ifneq ($(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)),)
# * read the console= kernel command line parameter
# * enable one of the above units depending on what it finds
#
-# Systemd defaults to enablinb getty@tty1.service
+# Systemd defaults to enabling getty@tty1.service
#
# What we want to do
# * Enable a getty on $BR2_TARGET_GENERIC_TTY_PATH
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] package/systemd: fix wrong variable name in comment
2023-08-03 7:37 [Buildroot] [PATCH 1/2] package/systemd: fix typos in comments Luca Ceresoli via buildroot
@ 2023-08-03 7:37 ` Luca Ceresoli via buildroot
2023-08-31 11:10 ` Peter Korsgaard
2023-08-03 19:12 ` [Buildroot] [PATCH 1/2] package/systemd: fix typos in comments Yann E. MORIN
2023-08-31 11:10 ` Peter Korsgaard
2 siblings, 1 reply; 5+ messages in thread
From: Luca Ceresoli via buildroot @ 2023-08-03 7:37 UTC (permalink / raw)
To: buildroot; +Cc: Norbert Lange, Luca Ceresoli, Yann E . MORIN, Sen Hastings
There is no such thing as a BR2_TARGET_GENERIC_TTY_PATH variable. The
comment here should mention BR2_TARGET_GENERIC_GETTY_PORT instead.
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
package/systemd/systemd.mk | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 86b1715076a9..c8a83ae32f7f 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -674,15 +674,15 @@ ifneq ($(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)),)
# Systemd defaults to enabling getty@tty1.service
#
# What we want to do
-# * Enable a getty on $BR2_TARGET_GENERIC_TTY_PATH
+# * Enable a getty on $BR2_TARGET_GENERIC_GETTY_PORT
# * Set the baudrate for all units according to BR2_TARGET_GENERIC_GETTY_BAUDRATE
# * Always enable a getty on the console using systemd-getty-generator
# (backward compatibility with previous releases of buildroot)
#
# What we do
# * disable getty@tty1 (enabled by upstream systemd)
-# * enable getty@xxx if $BR2_TARGET_GENERIC_TTY_PATH is a tty
-# * enable serial-getty@xxx for other $BR2_TARGET_GENERIC_TTY_PATH
+# * enable getty@xxx if $BR2_TARGET_GENERIC_GETTY_PORT is a tty
+# * enable serial-getty@xxx for other $BR2_TARGET_GENERIC_GETTY_PORT
# * rewrite baudrates if a baudrate is provided
define SYSTEMD_INSTALL_SERVICE_TTY
mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/getty@.service.d; \
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH 1/2] package/systemd: fix typos in comments
2023-08-03 7:37 [Buildroot] [PATCH 1/2] package/systemd: fix typos in comments Luca Ceresoli via buildroot
2023-08-03 7:37 ` [Buildroot] [PATCH 2/2] package/systemd: fix wrong variable name in comment Luca Ceresoli via buildroot
@ 2023-08-03 19:12 ` Yann E. MORIN
2023-08-31 11:10 ` Peter Korsgaard
2 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2023-08-03 19:12 UTC (permalink / raw)
To: Luca Ceresoli; +Cc: Norbert Lange, Sen Hastings, buildroot
Luca, All,
On 2023-08-03 09:37 +0200, Luca Ceresoli via buildroot spake thusly:
> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Both applied to master, thanks!
Regards,
Yann E. MORIN.
> ---
> package/systemd/systemd.mk | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
> index 0aa1da3fb80c..86b1715076a9 100644
> --- a/package/systemd/systemd.mk
> +++ b/package/systemd/systemd.mk
> @@ -661,9 +661,9 @@ SYSTEMD_TARGET_FINALIZE_HOOKS += \
> SYSTEMD_INSTALL_RESOLVCONF_HOOK
>
> ifneq ($(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)),)
> -# systemd provides multiple units to autospawn getty as neede
> +# systemd provides multiple units to autospawn getty as needed
> # * getty@.service to start a getty on normal TTY
> -# * sertial-getty@.service to start a getty on serial lines
> +# * serial-getty@.service to start a getty on serial lines
> # * console-getty.service for generic /dev/console
> # * container-getty@.service for a getty on /dev/pts/*
> #
> @@ -671,7 +671,7 @@ ifneq ($(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)),)
> # * read the console= kernel command line parameter
> # * enable one of the above units depending on what it finds
> #
> -# Systemd defaults to enablinb getty@tty1.service
> +# Systemd defaults to enabling getty@tty1.service
> #
> # What we want to do
> # * Enable a getty on $BR2_TARGET_GENERIC_TTY_PATH
> --
> 2.34.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH 1/2] package/systemd: fix typos in comments
2023-08-03 7:37 [Buildroot] [PATCH 1/2] package/systemd: fix typos in comments Luca Ceresoli via buildroot
2023-08-03 7:37 ` [Buildroot] [PATCH 2/2] package/systemd: fix wrong variable name in comment Luca Ceresoli via buildroot
2023-08-03 19:12 ` [Buildroot] [PATCH 1/2] package/systemd: fix typos in comments Yann E. MORIN
@ 2023-08-31 11:10 ` Peter Korsgaard
2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2023-08-31 11:10 UTC (permalink / raw)
To: Luca Ceresoli via buildroot
Cc: Norbert Lange, Luca Ceresoli, Yann E . MORIN, Sen Hastings
>>>>> "Luca" == Luca Ceresoli via buildroot <buildroot@buildroot.org> writes:
> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Committed to 2023.02.x and 2023.05.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH 2/2] package/systemd: fix wrong variable name in comment
2023-08-03 7:37 ` [Buildroot] [PATCH 2/2] package/systemd: fix wrong variable name in comment Luca Ceresoli via buildroot
@ 2023-08-31 11:10 ` Peter Korsgaard
0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2023-08-31 11:10 UTC (permalink / raw)
To: Luca Ceresoli via buildroot
Cc: Norbert Lange, Luca Ceresoli, Yann E . MORIN, Sen Hastings
>>>>> "Luca" == Luca Ceresoli via buildroot <buildroot@buildroot.org> writes:
> There is no such thing as a BR2_TARGET_GENERIC_TTY_PATH variable. The
> comment here should mention BR2_TARGET_GENERIC_GETTY_PORT instead.
> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Committed to 2023.02.x and 2023.05.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-08-31 11:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-03 7:37 [Buildroot] [PATCH 1/2] package/systemd: fix typos in comments Luca Ceresoli via buildroot
2023-08-03 7:37 ` [Buildroot] [PATCH 2/2] package/systemd: fix wrong variable name in comment Luca Ceresoli via buildroot
2023-08-31 11:10 ` Peter Korsgaard
2023-08-03 19:12 ` [Buildroot] [PATCH 1/2] package/systemd: fix typos in comments Yann E. MORIN
2023-08-31 11:10 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).