package/systemd: fix typos in comments
PATCH 1/2 package/systemd: fix typos in comments
--- package/systemd/systemd.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
package/systemd/systemd.mk +3 -3
@@ -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 # * [email protected] to start a getty on normal TTY -# * [email protected] to start a getty on serial lines +# * [email protected] to start a getty on serial lines # * console-getty.service for generic /dev/console # * [email protected] 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 [email protected] +# Systemd defaults to enabling [email protected] # # What we want to do # * Enable a getty on $BR2_TARGET_GENERIC_TTY_PATH
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/systemd: fix wrong variable name in comment
There is no such thing as a BR2_TARGET_GENERIC_TTY_PATH variable. The comment here should mention BR2_TARGET_GENERIC_GETTY_PORT instead.
--- package/systemd/systemd.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
package/systemd/systemd.mk +3 -3
@@ -674,15 +674,15 @@ ifneq ($(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)),) # Systemd defaults to enabling [email protected] # # 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/[email protected]; \
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/systemd: fix wrong variable name in comment
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Luca" == Luca Ceresoli via buildroot <[email protected]> writes:
There is no such thing as a
BR2_TARGET_GENERIC_TTY_PATHvariable. The comment here should mentionBR2_TARGET_GENERIC_GETTY_PORTinstead.Signed-off-by Luca Ceresoli <[email protected]>
Committed to 2023.02.x and 2023.05.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Luca, All,
On 2023-08-03 09:37 +0200, Luca Ceresoli via buildroot spake thusly:
Quoted 1 line
Signed-off-by Luca Ceresoli <[email protected]>
Both applied to master, thanks!
Regards,
Yann E. MORIN.
Quoted 36 lines
--- package/systemd/systemd.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)package/systemd/systemd.mk +3
-3@@ -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 # * [email protected] to start a getty on normal TTY -# * [email protected] to start a getty on serial lines +# * [email protected] to start a getty on serial lines # * console-getty.service for generic /dev/console # * [email protected] 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 [email protected] +# Systemd defaults to enabling [email protected] # # What we want to do # * Enable a getty on $BR2_TARGET_GENERIC_TTY_PATHSignature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | 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 [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Luca" == Luca Ceresoli via buildroot <[email protected]> writes:
Signed-off-by Luca Ceresoli <[email protected]>
Committed to 2023.02.x and 2023.05.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot